diff options
-rw-r--r-- | .vimrc | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -44,6 +44,9 @@ if exists("+undofile") set undodir+=. endif +set splitbelow +set splitright + set wildmenu set wildmode=full set wildignore=*.o,*.a,*.class,*.mo,*.la,*.swp,*.jpg,*.png,*.xpm,*.gif,*.pyc,*~,.git,.svn,.hg, @@ -122,10 +125,22 @@ inoremap <C-c> <esc>:q<cr> nnoremap <C-c> :q<cr> " movement mappings -nnoremap <C-Right> <C-w>l -nnoremap <C-Left> <C-w>h -nnoremap <C-Down> <C-w>j -nnoremap <C-Up> <C-w>k +nnoremap <silent> <C-Right> <c-w>l +nnoremap <silent> <C-Left> <c-w>h +nnoremap <silent> <C-Up> <c-w>k +nnoremap <silent> <C-Down> <c-w>j +set <C-Right>=[C +set <C-Left>=[D +" unsupported options +"set <C-Up>=[A +"set <C-Down>=[B +nnoremap <silent> <C-W>[A <c-w>K +nnoremap <silent> <C-W>[B <c-w>J +nnoremap <silent> <C-W><C-Right> <c-w>L +nnoremap <silent> <C-W><C-Left> <c-w>H +nnoremap <silent> <C-W><C-Up> <c-w>K +nnoremap <silent> <C-W><C-Down> <c-w>J + nnoremap <Up> gk nnoremap <Down> gj nnoremap j gj |