diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-26 09:42:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-26 09:42:15 +1200 |
commit | a4484bd1444f51154840fe2be12e9dde6414d1ec (patch) | |
tree | 92b17d6cd8239d053c2954bfcb7748b5db95f4a8 /vim/vimrc | |
parent | Set 'noruler' in .vimrc (diff) | |
download | dotfiles-a4484bd1444f51154840fe2be12e9dde6414d1ec.tar.gz dotfiles-a4484bd1444f51154840fe2be12e9dde6414d1ec.zip |
Move NeoVim-specific config to subfile
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 11 |
1 files changed, 5 insertions, 6 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 @@ -124,9 +121,6 @@ set nrformats-=octal set path-=/usr/include " Let the C/C++ filetypes set that set path+=** " Search current directory's whole tree -" Disable the ruler -set noruler - " Don't show startup splash screen (I donated) set shortmess+=I @@ -300,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 |