disabling arrow keys

17 views
Skip to first unread message

Chris Lott

unread,
Feb 27, 2013, 12:59:10 PM2/27/13
to vim...@googlegroups.com
Can anyone help me completely disable arrow keys in any mode in
MacVim? No matter what I do the arrow keys still move between windows
in normal mode, for instance.

c
--
Chris Lott <ch...@chrislott.org>

Chris Schneider

unread,
Feb 27, 2013, 1:16:55 PM2/27/13
to vim...@googlegroups.com
Arrow keys moving between windows is weird. Take a look at your mappings.  I bet you have something there already.

To disable them, a global map should do it:

map <left> <nop>
imap <left> <nop> 

Map covers normal, visual and "operator pending" modes.  Then do insert mode and that's most of what you'd need to turn off.  Repeat for each arrow.



--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages