diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -98,9 +98,6 @@ set incsearch " Don't join lines with two spaces at the end of sentences set nojoinspaces -" Don't show a statusline if there's only one window -set laststatus=1 - " Don't redraw the screen during batch execution set lazyredraw @@ -138,7 +135,7 @@ set splitright set timeoutlen=3000 " No terminal mouse, even if we could -set ttymouse= +silent! set ttymouse= " Wildmenu settings; see also plugin/wildignore.vim set wildmenu " Use wildmenu @@ -189,12 +186,6 @@ imap <C-K><C-K> <Plug>(DigraphSearch) nnoremap <Space> <C-F> nnoremap <BS> <C-B> -" Remap normal/visual & to preserve substitution flags -nnoremap <silent> & :&&<CR> -if exists(':xnoremap') - xnoremap <silent> & :&&<CR> -endif - " Map g: as a 'colon operator' nmap g: <Plug>(ColonOperator) @@ -303,5 +294,10 @@ nnoremap <Bslash><Delete> :bdelete<CR> " \INS edits a new buffer nnoremap <Bslash><Insert> :<C-U>enew<CR> +" If we're running NeoVim, source some extra configuration +if has('nvim') + runtime nvim.vim +endif + " Source any .vim files from ~/.vim/config runtime! config/*.vim |