From ea007403ac8cc7805d44bc6e66765cc034115bc2 Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 18 Apr 2012 17:48:41 -0700 Subject: [PATCH] Unmap the arrow keys, use Cmd-Arrow keys instead for window resize --- README.md | 2 +- vim/plugin/settings/yadr-keymap.vim | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8997486..92effc6 100644 --- a/README.md +++ b/README.md @@ -333,7 +333,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke * `Ctrl-h,l,j,k` - to move left, right, down, up between windows * `Q` - Intelligent Window Killer. Close window `wincmd c` if there are multiple windows to same buffer, or kill the buffer `bwipeout` if this is the last window into it. - * Arrow keys - resize windows (up/down for vertical, left=make smaller horizontally, right=make bigger horizontally) + * Cmd-Arrow keys - resize windows (up/down for vertical, left=make smaller horizontally, right=make bigger horizontally) #### Splits diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index f0ed917..11f2eac 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -140,10 +140,10 @@ nnoremap vv v nnoremap ss s " Resize windows with arrow keys -nnoremap + -nnoremap - -nnoremap < -nnoremap > +nnoremap + +nnoremap - +nnoremap < +nnoremap > " create <%= foo %> erb tags using Ctrl-k in edit mode imap <%= %>3hi