]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: minor statusline cleanup
authorSimon Ruderich <simon@ruderich.org>
Tue, 29 Apr 2014 13:33:52 +0000 (15:33 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 29 Apr 2014 13:33:52 +0000 (15:33 +0200)
vimrc

diff --git a/vimrc b/vimrc
index df56e12ea2133a6ea17ca5c34e8f20725ec973bd..26c4f5f691216431d555fab0cc5d321989e7b1c9 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -449,10 +449,10 @@ if has('statusline')
     set statusline+=:
     if has('modify_fname') && v:version >= 700 " some functions need 7.0
         set statusline+=%{SRF()}      " path to current file
-        set statusline+=\             " space after path
     else
-        set statusline+=%f\           " path to current file in buffer
+        set statusline+=%f            " path to current file in buffer
     endif
+    set statusline+=\                 " space after path
     set statusline+=%h                " [help] if buffer is help file
     set statusline+=%w                " [Preview] if buffer is preview buffer
     set statusline+=%m                " [+] if buffer was modified,