Skip to content

Instantly share code, notes, and snippets.

@ha1t
Created January 31, 2012 01:44
Show Gist options
  • Save ha1t/1708169 to your computer and use it in GitHub Desktop.
Save ha1t/1708169 to your computer and use it in GitHub Desktop.
カーソルキーを封じるvimのmap
""
" 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