aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 33c80f1a..da48f4c6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -164,6 +164,12 @@ if has('windows')
endif
endif
+" Stack normal/visual/select Ctrl-L to clear search highlight
+noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
+
+" Stack insert Ctrl-C to undo the escaped insert operation
+inoremap <C-C> <C-C>u
+
" Remap normal J to stay in place while joining lines
if &loadplugins
nmap J <Plug>FixedJoin
@@ -181,12 +187,6 @@ if v:version >= 700
xnoremap <silent> & :&&<CR>
endif
-" Stack normal/visual/select Ctrl-L to clear search highlight
-noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
-
-" Stack insert Ctrl-C to undo the escaped insert operation
-inoremap <C-C> <C-C>u
-
" Cycle through argument list
nnoremap [a :<C-U>previous<CR>
nnoremap ]a :<C-U>next<CR>