Ticket #115 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

vi-mode 'f' and 't' cmds one char short as movement

Reported by: elaforge Owned by: judah
Priority: minor Milestone:
Version: Keywords:
Cc: qdunkan@…


For example, dfx will delete until one char before 'x' rather then up to and including. dtx will delete until two chars before 'x' rather than one. The backward search F and T cmds work as expected.

Change History

Changed 6 years ago by judah

  • owner set to judah

Thanks for the report; I'll look into this. Are you seeing issues only with 'd' deletion, or with the 'f' and 't' commands by themselves? From initial testing, the latter seems to work for me.

Changed 6 years ago by judah

  • status changed from new to closed
  • resolution set to fixed

Fixed by the following patch:

Sun Oct 16 14:28:29 PDT 2011  Judah Jacobson <judah.jacobson@gmail.com>
  * Fix #115: make the "df" and "dt" commands behave as in vim and readline.

Changed 6 years ago by elaforge

Wow, thanks for fixing it so quickly!

Note: See TracTickets for help on using tickets.