[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] the "v" keystroke does only work in bash ?

From: Marc Chantreux
Subject: [Bug-readline] the "v" keystroke does only work in bash ?
Date: Fri, 3 Jan 2014 02:35:55 +0100
User-agent: Mutt/1.5.21 (2010-09-15)


I use GNU Readline 6.2 provided by ubuntu and the following is my
current .inputrc.

when i'm using bash, i can edit the current line typing v in vi-command
mode but it seems this is a bash only feature. is it right? can it be


# use a visible bell if one is available
set bell-style visible

# vi style editing
set keymap vi
set editing-mode vi

# don't strip characters to 7 bits when reading
set input-meta on

# allow iso-latin1 characters to be inserted rather
# than converted to prefix-meta sequences
set convert-meta off

# display characters with the eighth bit set directly
# rather than as meta-prefixed characters
set output-meta on

# if there are more than 150 possible completions for
# a word, ask the user if he wants to see all of them
set completion-query-items 150

# paris autoclose {{{
# for exemple, typing  (( will write (|)
# where | is the next cursor position
# to actualy write ((, (^v( 

# }}}

$if mysql 
$include /home/mc/.readline/sql_abbr
"DE ": "describe " 
";;": "\\G\n"
";fp": "flush privileges; " 
";sd": "show databases; " 
";st": "show tables; " 
"!st": "show tables;;" 

# $if perlude 
#     # C-l: clear-screen
# $endif

Marc Chantreux
Université de Strasbourg, Direction Informatique
14 Rue René Descartes,
"Don't believe everything you read on the Internet"
    -- Abraham Lincoln

reply via email to

[Prev in Thread] Current Thread [Next in Thread]