[Top][All Lists]

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

broken behaviour in vi editing-mod

From: matt
Subject: broken behaviour in vi editing-mod
Date: Sun, 1 Jul 2001 16:37:58 +0100 (BST)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-I./include -I./lib -I/usr/local/include -g -O2
uname output: Linux flop 2.2.19 #2 Sat Jun 9 21:17:22 BST 2001 i686 unknown
Machine Type: i686-pc-linux-gnu

Bash Version: 2.04
Patch Level: 0
Release Status: release

In vi editing-mode, f<char> moves forwards to the next <char>,
t<char> moves forwards to char before the next <char>. F<char>
searches back to <char> and T<char> searches back to char after 

These can be combined with d, to delete all chars from the cursor
to a certain char.  All work as expected except deleting back to
after the named char, which does nothing.

set -o vi                               #enter vi editing-mode
a123 b456 c789                  #enter test data
^[                                                      #enter command mode, 
cursor on char '9'
Tc                                                      #moves to char '7'
$                                                       #moves back to char '9'
dTc                                             #does nothing

reply via email to

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