Unmap the arrow keys, use Cmd-Arrow keys instead for window resize
This commit is contained in:
parent
8ad2a7a7b1
commit
ea007403ac
@ -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
|
* `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.
|
* `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
|
#### Splits
|
||||||
|
|
||||||
|
@ -140,10 +140,10 @@ nnoremap <silent> vv <C-w>v
|
|||||||
nnoremap <silent> ss <C-w>s
|
nnoremap <silent> ss <C-w>s
|
||||||
|
|
||||||
" Resize windows with arrow keys
|
" Resize windows with arrow keys
|
||||||
nnoremap <Up> <C-w>+
|
nnoremap <D-Up> <C-w>+
|
||||||
nnoremap <Down> <C-w>-
|
nnoremap <D-Down> <C-w>-
|
||||||
nnoremap <Left> <C-w><
|
nnoremap <D-Left> <C-w><
|
||||||
nnoremap <Right> <C-w>>
|
nnoremap <D-Right> <C-w>>
|
||||||
|
|
||||||
" create <%= foo %> erb tags using Ctrl-k in edit mode
|
" create <%= foo %> erb tags using Ctrl-k in edit mode
|
||||||
imap <silent> <C-K> <%= %><Esc>3hi
|
imap <silent> <C-K> <%= %><Esc>3hi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user