From 8dcdf5f8273c0fc38bdb3258eba4a853793666a2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 1 Jul 2018 23:47:47 +1200 Subject: Rearrange mappings a little more --- vim/vimrc | 12 ++++++------ 1 file 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 :nohlsearch + +" Stack insert Ctrl-C to undo the escaped insert operation +inoremap u + " Remap normal J to stay in place while joining lines if &loadplugins nmap J FixedJoin @@ -181,12 +187,6 @@ if v:version >= 700 xnoremap & :&& endif -" Stack normal/visual/select Ctrl-L to clear search highlight -noremap :nohlsearch - -" Stack insert Ctrl-C to undo the escaped insert operation -inoremap u - " Cycle through argument list nnoremap [a :previous nnoremap ]a :next -- cgit v1.2.3