aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-11-04 15:53:39 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-11-04 15:53:39 -0600
commitd990578625252fdc8c832fa89b619dec83442489 (patch)
tree3992083eb530e253e6a2ea476ef11ebf539ba8e8
parentadcb0b8ca2f1a5b98f523402e1060f8f4a37e7d2 (diff)
Revert "Revert "Moving window switching to here. Should be consistant between vim and nvim""
This reverts commit 1ee72c5d2833c530b6021786a58f10871165db3c.
-rw-r--r--plugin/vim-options.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 46c585b..b4659d2 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -55,6 +55,12 @@ noremap <leader>q :quit!<CR>
nnoremap gp `[v`]
" Yank withouth newline
nmap yY ^y$
+" Window switching
+nnoremap <C-J> <C-W><C-J>
+nnoremap <C-K> <C-W><C-K>
+nnoremap <C-L> <C-W><C-L>
+nnoremap <C-H> <C-W><C-H>
+nnoremap <C-]> <C-w><C-]>
"-----------------------------------------------------------------------------------------------------------------------