aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-27 12:54:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-27 12:54:23 +1200
commit55cd77a19a9a5d9ac91cd0c474ae6f4932030980 (patch)
treecef1d5ee4016e2a9f57f82d40c4e5ae0aa0c80b5 /vim/vimrc
parentDon't load matchit.vim package if using Neovim (diff)
downloaddotfiles-55cd77a19a9a5d9ac91cd0c474ae6f4932030980.tar.gz
dotfiles-55cd77a19a9a5d9ac91cd0c474ae6f4932030980.zip
Set 'laststatus' back to 1 in Neovim
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index df2219d4..15865b87 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -77,6 +77,11 @@ endif
" 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
+if has('nvim') " Neovim changed the default to 2
+ set laststatus=1
+endif
+
" Don't redraw the screen during batch execution
set lazyredraw