Saturday, November 5, 2011

Re: mapping ALT-backspace

On Sat, 5 Nov 2011, Benjamin R. Haskell wrote:

> On Sat, 5 Nov 2011, meino.cramer@gmx.de wrote:
>
>> For me the question remains, whether zsh from which vim is started
>> recognizes ALT-Backspace well and vim does not... ?!
>

Also, more to the point, see what Zsh thinks represents alt+backspace
for you:

(in zsh:)
$ bindkey -L | grep backward-kill-word


For me, that returns:
bindkey "^W" backward-kill-word
bindkey "^[^H" backward-kill-word
bindkey "^[^?" backward-kill-word

Which means that all three of <Ctrl>+<w>, <Alt>+<Delete> (==
<Esc>+<Delete>), and <Alt>+<Backspace> (== <Esc>+<Backspace>) do the
same thing. Maybe your Backspace and Delete are reversed? (Seems
unlikely, because that makes operating in Vim kind of awkward, IMO, so
you'd've probably fixed it already.)

See:

:help :fixdel

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: