aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
authorMax Christian Pohle2017-09-07 11:55:18 +0200
committerMax Christian Pohle2017-09-07 11:55:18 +0200
commit22dfff34fd7bf261caf33854f567c5874aa90ebc (patch)
treec84f2deed73538a331990c3f4e8a8ee98fa25b65 /vimrc-full
parent0d99916e38f577d6bca4caf9f8d1fd1ea2bf6c37 (diff)
downloadvim-22dfff34fd7bf261caf33854f567c5874aa90ebc.tar.bz2
vim-22dfff34fd7bf261caf33854f567c5874aa90ebc.zip
Added shortcut alt+arrow to change between windows
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc-full b/vimrc-full
index 166fb37..1b41fe5 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -195,6 +195,7 @@ set showtabline=2 | " 0: never, 1: only if there are at least two ta
195set winwidth=30 | " keep NERDTreeWindow at least this size 195set winwidth=30 | " keep NERDTreeWindow at least this size
196set winminwidth=0 | " (and all other windows, so TODO: watch out) 196set winminwidth=0 | " (and all other windows, so TODO: watch out)
197set tags+=../tags 197set tags+=../tags
198set tagcase=match | " tagcase match, because we mostly use ^] to jump around and that variant respects the upper/lower case [followscs, followic, match, ignore]
198set updatetime=80 | " updates the screen more often 199set updatetime=80 | " updates the screen more often
199set viminfo+=% | " restore buffer list 200set viminfo+=% | " restore buffer list
200set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against 201set 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>
467nnoremap <silent> <F6> :silent syntax sync fromstart<CR>:nohlsearch<CR>:silent match<CR>:silent 2match<CR>:silent 3match<CR> 468nnoremap <silent> <F6> :silent syntax sync fromstart<CR>:nohlsearch<CR>:silent match<CR>:silent 2match<CR>:silent 3match<CR>
468nnoremap <leader>r :syntax sync fromstart 469nnoremap <leader>r :syntax sync fromstart
469 470
471nnoremap <silent> <A-Up> :wincmd k<CR>
472nnoremap <silent> <A-Down> :wincmd j<CR>
473nnoremap <silent> <A-Left> :wincmd h<CR>
474nnoremap <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
..