]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Always display the statusline.
authorSimon Ruderich <simon@ruderich.org>
Sun, 1 Nov 2009 03:24:23 +0000 (04:24 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 1 Nov 2009 03:24:23 +0000 (04:24 +0100)
vimrc

diff --git a/vimrc b/vimrc
index 98009b8611eb2885af03a11a4057c57899698ce9..d8ed984233f9de16aaf0887b812b588e88cca3ba 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -117,6 +117,11 @@ if v:version >= 700
     set listchars+=nbsp:!
 endif
 
+" Always display the status line even if there is only one window.
+if has('statusline')
+    set laststatus=2
+endif
+
 
 " MAPPINGS (except for plugins, see PLUGIN SETTINGS below)