From 15ee35b4655329449d1b2d52c07e6e6531647fd7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 16 May 2019 23:14:39 +1200 Subject: Adjust order of some directives --- vim/vimrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 8358b9f4..1b2c3a1b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -205,10 +205,10 @@ if has('persistent_undo') endif " Tab completion settings; see also plugin/wildignore.vim -set wildmode=list:longest " Tab press completes and lists if exists('+wildignorecase') set wildignorecase " Case insensitive, if supported (v7.3.072) endif +set wildmode=list:longest " Tab press completes and lists " Let me move beyond buffer text in visual block mode set virtualedit+=block @@ -216,9 +216,12 @@ set virtualedit+=block " Never beep at me set visualbell t_vb= -" Stack normal/visual/select Ctrl-L to clear search highlight -nnoremap :nohlsearch -vnoremap :nohlsearchgv +" Remap normal space to scroll down a page +nnoremap +" Do a :next after hitting the last line +if &loadplugins " Don't change the mapping if we won't be loading the plugin + nmap (ScrollNext) +endif " Remap insert Ctrl-C to undo the escaped insert operation if &loadplugins " Don't break the key if we won't be loading the plugin @@ -228,12 +231,9 @@ endif " Map double Ctrl-K in insert mode to search digraph names imap (DigraphSearch) -" Remap normal space to scroll down a page -nnoremap -" Do a :next after hitting the last line -if &loadplugins " Don't change the mapping if we won't be loading the plugin - nmap (ScrollNext) -endif +" Stack normal/visual/select Ctrl-L to clear search highlight +nnoremap :nohlsearch +vnoremap :nohlsearchgv " Remap normal/visual & and g& to preserve substitution flags nnoremap & :&& -- cgit v1.2.3