tpope / vim-rsi

rsi.vim: Readline style insertion
http://www.vim.org/scripts/script.php?script_id=4359
583 stars 35 forks source link

M-f, M-d go one char too far #2

Open rking opened 11 years ago

rking commented 11 years ago

If you're at the bar in: as |df hj And you hit M-f in Emacs, you end up at: as df| hi (your next char goes right after the df)

But in vim-rsi you end up at as df |hj

Same thing for M-d, slurping the space after the deleted text while Emacs leaves that space there.

tpope commented 11 years ago

Curiously, on zsh, M-f behaves like vim, but M-d does not.