sponsor Vim development Vim logo Vim Book Ad

statusline.vim : Beautify statusline

 script karma  Rating 84/38, Downloaded by 3716  Comments, bugs, improvements  Vim wiki

created by
Tian Huixiong
 
script type
utility
 
description
         This script is inspired by the light2011 colorscheme (vimscript#3714).
         Thanks for xiaohuyee to give us such a pretty gift.
          He did most of the work. I just stood on his shoulders.
          
         I am looking for a beautiful vim statusline for a long time but found nothing until I met the light2011.
         Last night I spent several hours to beautify my statusline, it looks good.
         And now I give it to you.

         It is beautiful on gvim.
         However if you use vim on console, it is not so beautiful, but still useful.

Screenshot  
         http://vimer.1063083.n5.nabble.com/beautiful-vim-statusline-td4777850.html
        
Tutorial
         Download it, use it, and change it.

         It is good on my laptop, but maybe bad on yours.  
         Perhaps you should edit the source code to suit your vim.
         When you edit it, do not erase trailing-blanks.

         If you use light2011 colorscheme, you'd better comment its statusline codes.

         When you switch colorscheme, the background of statusline changes too.
         You should source statusline.vim by manual to recover it.
         Like:
                  :colo underwater
                  :source c:/vim/vimfiles/plugin/statusline.vim
                  or
                  :source ~/.vim/plugin/statusline.vim

          In fact, you can use autocmd to simplify this:
                    autocmd! ColorScheme *  source c:/vim/vimfiles/plugin/statusline.vim
                    or
                    autocmd! ColorScheme *  source ~/.vim/plugin/statusline.vim
 
install details
         Put this file in ~/.vim/plugin on *nix.
         Or put it in $vim/vimfiles/plugin on Windows.

Uninstall
         Just delete it from your disk.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
statusline.vim 1.1 2011-09-07 7.0 Tian Huixiong Update doc
statusline.vim 1.0 2011-09-07 7.0 Tian Huixiong Update doc
statusline.vim 1.0 2011-09-07 7.0 Tian Huixiong Initial upload
ip used for rating: 3.128.198.21

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github