]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: move close-another-window mappings higher up
[dotfiles.git] / vim / vimrc
index 5f6f87a50aeeda06e345bd6d90d0640067e86ac5..c4872527f4691c5e846c6ef6959f9d3704910044 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -615,6 +615,14 @@ nmap <silent> <leader>qq :echo "hi<" . synIDattr(synID(line("."),col("."),1),"na
 let g:checkattach_filebrowser = 'ranger'
 let g:checkattach_once = 'y'
 
+" close-another-window {{{2
+nnoremap <silent> <C-W>c  <NOP>
+nnoremap <silent> <C-W>cc <C-W>c
+nnoremap <silent> <C-W>ch :CloseLeftWindow<CR>
+nnoremap <silent> <C-W>cl :CloseRightWindow<CR>
+nnoremap <silent> <C-W>cj :CloseBelowWindow<CR>
+nnoremap <silent> <C-W>ck :CloseAboveWindow<CR>
+
 " delimitmate {{{2
 let delimitMate_expand_cr = 2
 let g:delimitMate_expand_space = 1
@@ -679,14 +687,6 @@ nmap <silent> cog <Plug>IndentGuidesToggle
 nmap <silent> [og <Plug>IndentGuidesEnable
 nmap <silent> ]og <Plug>IndentGuidesDisable
 
-" close-another-window {{{2
-nnoremap <silent> <C-W>c  <NOP>
-nnoremap <silent> <C-W>cc <C-W>c
-nnoremap <silent> <C-W>ch :CloseLeftWindow<CR>
-nnoremap <silent> <C-W>cl :CloseRightWindow<CR>
-nnoremap <silent> <C-W>cj :CloseBelowWindow<CR>
-nnoremap <silent> <C-W>ck :CloseAboveWindow<CR>
-
 " python-mode {{{2
 
 let g:pymode_rope_completion = 0