Unmap the arrow keys, use Cmd-Arrow keys instead for window resize

This commit is contained in:
yan
2012-04-18 17:48:41 -07:00
parent 8ad2a7a7b1
commit ea007403ac
2 changed files with 5 additions and 5 deletions

View File

@@ -140,10 +140,10 @@ nnoremap <silent> vv <C-w>v
nnoremap <silent> ss <C-w>s
" Resize windows with arrow keys
nnoremap <Up> <C-w>+
nnoremap <Down> <C-w>-
nnoremap <Left> <C-w><
nnoremap <Right> <C-w>>
nnoremap <D-Up> <C-w>+
nnoremap <D-Down> <C-w>-
nnoremap <D-Left> <C-w><
nnoremap <D-Right> <C-w>>
" create <%= foo %> erb tags using Ctrl-k in edit mode
imap <silent> <C-K> <%= %><Esc>3hi