[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] c + movement in vi mode
From: |
Aryeh Leib Taurog |
Subject: |
[Bug-readline] c + movement in vi mode |
Date: |
Wed, 04 Aug 2010 18:39:56 +0300 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
Hi,
I don't know if this is a bug or not, but I am not sure where else to
ask. I am very grateful to have gnureadline, maybe I just some
guidance configuring it.
When using bash in vi mode, I can combine the 'c' command with a
multi-keystroke motion just like I do in vi. i.e. I type
psql -t -A -f myscript.sql<ESC>0ctm
I am now changing the command line up to the filename myscript.sql
When I try this elsewhere, it doesn't work. For example in python
when I type "datetime.now()<ESC>02ftct(" I expect to change the text
"time.now" but it simply positions the cursor on the "w" as if I had
not typed "c" Is there some way to get the expected behavior outside
of bash? Note that the "c" command does work with single-keystroke
motions, for instance "ce" or even with number modifier, "c2e"
my ~/.inputrc looks like this:
set editing-mode vi
set keymap vi
I get the same behavior in psql or using rlwrap. I have tried this in
several different terminals (terminator, xterm, cygwin-rxvt), using
cygwin on windows and also on debian lenny (dpkg output below)
un lib-readline-java <none> (no description available)
un libreadline-common <none> (no description available)
ii libreadline-java 0.8.0.1-8.1 GNU readline and BSD
editline wrappers for Java
un libreadline-java-doc <none> (no description available)
un libreadline-ruby <none> (no description available)
un libreadline-ruby1.8 <none> (no description available)
un libreadline4 <none> (no description available)
ii libreadline5 5.2-3.1 GNU readline and history
libraries, run-time libraries
ii libreadline6 6.1-1 GNU readline and history
libraries, run-time libraries
un libterm-readline-gnu-per <none> (no description available)
ii libterm-readline-perl-pe 1.0302-1 Perl implementation of
Readline libraries
ii readline-common 5.2-3.1 GNU readline and history
libraries, common files
un tclreadline <none> (no description available)
Please cc me on any replies, since I'm not subscribed to this list.
Thanks in advance.
Aryeh Leib Taurog
- [Bug-readline] c + movement in vi mode,
Aryeh Leib Taurog <=