summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc23
1 files changed, 19 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index eeeebed..bf4036f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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>=
+set <C-Left>=
+" unsupported options
+"set <C-Up>=
+"set <C-Down>=
+nnoremap <silent> <C-W> <c-w>K
+nnoremap <silent> <C-W> <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