aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-11-01 09:13:39 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-11-01 09:13:39 -0600
commit2123892fe27f94038b861d7e2cc094724a251e15 (patch)
tree9f2f63c6be6158379e9dc3265d123b67851f0120
parentf366a7d3507d80252af68a447e1af628c429fa44 (diff)
Moving window switching to here. Should be consistant between vim and nvim
-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 94d4b62..2a03e00 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-]>
"-----------------------------------------------------------------------------------------------------------------------