I found these default mappings after typing :imap
i <Esc>[6~ <PageDown>
i <Esc>[5~ <PageUp>
i <Esc>OF <End>
i <Esc>OH <Home>
i <Esc>OD <Left>
i <Esc>OC <Right>
i <Esc>OB <Down>
i <Esc>OA <Up>
I want to get rid of all these mappings in my vimrc, so I can properly
map key sequences that begin with escape without having vim wait to
leav insert mode. I have tried to put the following in my vimrc:
iunmap <Esc>[6~
iunmap <Esc>[5~
iunmap <Esc>OF
iunmap <Esc>OH
iunmap <Esc>OD
iunmap <Esc>OC
iunmap <Esc>OB
iunmap <Esc>OA
But it doesn't work and vim complains with messages of 'no such mappings'
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Monday, April 8, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment