Tuesday, April 26, 2011

Re: Map arrow keys to alert bell

On 2011-04-26, Daniel Corręa wrote:
> Hello,
>
> How do I trigger the alert bell in Vim? I'd like to map the arrow keys to it.
> Comething like
> :map <Left> [alert bell]

The usual method of generating a bell is to execute <Esc> in normal
mode. Your mapping would then be

:nmap <Left> <Esc>

Regards,
Gary

--
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: