diff options
author | Max Christian Pohle | 2017-09-07 11:55:18 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-09-07 11:55:18 +0200 |
commit | 22dfff34fd7bf261caf33854f567c5874aa90ebc (patch) | |
tree | c84f2deed73538a331990c3f4e8a8ee98fa25b65 /vimrc-full | |
parent | 0d99916e38f577d6bca4caf9f8d1fd1ea2bf6c37 (diff) | |
download | vim-karlmarks-22dfff34fd7bf261caf33854f567c5874aa90ebc.tar.bz2 vim-karlmarks-22dfff34fd7bf261caf33854f567c5874aa90ebc.zip |
Added shortcut alt+arrow to change between windows
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -195,6 +195,7 @@ set showtabline=2 | " 0: never, 1: only if there are at least two ta | |||
195 | set winwidth=30 | " keep NERDTreeWindow at least this size | 195 | set winwidth=30 | " keep NERDTreeWindow at least this size |
196 | set winminwidth=0 | " (and all other windows, so TODO: watch out) | 196 | set winminwidth=0 | " (and all other windows, so TODO: watch out) |
197 | set tags+=../tags | 197 | set tags+=../tags |
198 | set tagcase=match | " tagcase match, because we mostly use ^] to jump around and that variant respects the upper/lower case [followscs, followic, match, ignore] | ||
198 | set updatetime=80 | " updates the screen more often | 199 | set updatetime=80 | " updates the screen more often |
199 | set viminfo+=% | " restore buffer list | 200 | set viminfo+=% | " restore buffer list |
200 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against | 201 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against |
@@ -467,6 +468,10 @@ nnoremap <silent> <F5> :make<CR> | |||
467 | nnoremap <silent> <F6> :silent syntax sync fromstart<CR>:nohlsearch<CR>:silent match<CR>:silent 2match<CR>:silent 3match<CR> | 468 | nnoremap <silent> <F6> :silent syntax sync fromstart<CR>:nohlsearch<CR>:silent match<CR>:silent 2match<CR>:silent 3match<CR> |
468 | nnoremap <leader>r :syntax sync fromstart | 469 | nnoremap <leader>r :syntax sync fromstart |
469 | 470 | ||
471 | nnoremap <silent> <A-Up> :wincmd k<CR> | ||
472 | nnoremap <silent> <A-Down> :wincmd j<CR> | ||
473 | nnoremap <silent> <A-Left> :wincmd h<CR> | ||
474 | nnoremap <silent> <A-Right> :wincmd l<CR> | ||
470 | 475 | ||
471 | " INSERT_MODE_MAPPINGS: | 476 | " INSERT_MODE_MAPPINGS: |
472 | " default copy&paste insert key binding (just in insert mode, so it doesn't conflict | 477 | " default copy&paste insert key binding (just in insert mode, so it doesn't conflict |