From 22dfff34fd7bf261caf33854f567c5874aa90ebc Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 7 Sep 2017 11:55:18 +0200 Subject: Added shortcut alt+arrow to change between windows --- vimrc-full | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vimrc-full') 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 set winwidth=30 | " keep NERDTreeWindow at least this size set winminwidth=0 | " (and all other windows, so TODO: watch out) set tags+=../tags +set tagcase=match | " tagcase match, because we mostly use ^] to jump around and that variant respects the upper/lower case [followscs, followic, match, ignore] set updatetime=80 | " updates the screen more often set viminfo+=% | " restore buffer list set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against @@ -467,6 +468,10 @@ nnoremap :make nnoremap :silent syntax sync fromstart:nohlsearch:silent match:silent 2match:silent 3match nnoremap r :syntax sync fromstart +nnoremap :wincmd k +nnoremap :wincmd j +nnoremap :wincmd h +nnoremap :wincmd l " INSERT_MODE_MAPPINGS: " default copy&paste insert key binding (just in insert mode, so it doesn't conflict -- cgit v1.2.3