Created
January 31, 2012 01:44
-
-
Save ha1t/1708169 to your computer and use it in GitHub Desktop.
カーソルキーを封じるvimのmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"" | |
" map disable cursor key | |
" | |
set ttimeout | |
set timeout | |
set ttimeoutlen=0 | |
set timeoutlen=0 | |
map <ESC>OA <ESC> | |
map <ESC>OB <ESC> | |
map <ESC>OC <ESC> | |
map <ESC>OD <ESC> | |
imap <ESC>OA <ESC> | |
imap <ESC>OB <ESC> | |
imap <ESC>OC <ESC> | |
imap <ESC>OD <ESC> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment