[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) |
hello,
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
fixed?
sincerly,
marc
# 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(
"''":"\C-v'\C-v'\ei"
"((":"\C-v(\C-v)\ei"
"[[":"\C-v[\C-v]\ei"
"{{":"\C-v{\C-v}\ei"
"\"\"":"\C-v\"\C-v\"\ei"
# }}}
$if mysql
$include /home/mc/.readline/sql_abbr
"DE ": "describe "
";;": "\\G\n"
";fp": "flush privileges; "
";sd": "show databases; "
";st": "show tables; "
"!st": "show tables;;"
$endif
# $if perlude
# # C-l: clear-screen
# $endif
--
Marc Chantreux
Université de Strasbourg, Direction Informatique
14 Rue René Descartes,
67084 STRASBOURG CEDEX
☎: 03.68.85.57.40
http://unistra.fr
"Don't believe everything you read on the Internet"
-- Abraham Lincoln
- [Bug-readline] the "v" keystroke does only work in bash ?,
Marc Chantreux <=