aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-07-13 09:02:15 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-07-13 09:02:15 +0100
commitc0fc1a379b99dd224acd6ba5eb943fc0ef57d6af (patch)
treed4737002503a300c1edb4004719226c0e7e9a42f /vimrc
parent249dc78b36e213ce1b474247cac66cd8a2b8819f (diff)
downloaddotfiles-c0fc1a379b99dd224acd6ba5eb943fc0ef57d6af.tar.gz
dotfiles-c0fc1a379b99dd224acd6ba5eb943fc0ef57d6af.tar.bz2
dotfiles-c0fc1a379b99dd224acd6ba5eb943fc0ef57d6af.zip
Changed resize and window creation keys to be more like emacs
Diffstat (limited to 'vimrc')
-rwxr-xr-xvimrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/vimrc b/vimrc
index ee7c63a..6aef793 100755
--- a/vimrc
+++ b/vimrc
@@ -109,14 +109,14 @@ nnoremap <leader>bd :bd <CR>
" Window Management
nnoremap <leader>ww :Windows<CR>
" Splits
-nnoremap <leader>wv <C-W>v
-nnoremap <leader>wh <C-W>s
+nnoremap <leader>w/ <C-W>v
+nnoremap <leader>w- <C-W>s
nnoremap <leader>wd <C-W>q
" Resizes
-nnoremap <leader>w<Up> :resize -5<CR>
+nnoremap <leader>w^ :resize -5<CR>
nnoremap <leader>w<Down> :resize +5<CR>
-nnoremap <leader>w<Right> <C-W>5>
-nnoremap <leader>w<Left> <C-W>5<
+nnoremap <leader>w> <C-W>5>
+nnoremap <leader>w< <C-W>5<
" Movement
nnoremap <leader>wj <C-W><C-J>
nnoremap <leader>wk <C-W><C-K>