sponsor Vim development Vim logo Vim Book Ad

basic Tip #15: Displaying status line always

 tip karma   Rating 168/91, Viewed by 6766 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   February 24, 2001 18:03      complexity:   basic
author:   Yegappan      as of Vim:   5.7


To display the status line always, set the following option in
your .vimrc file:

        set laststatus=2

The advantage of having the status line displayed always is, you
can see the current mode, file name, file status, ruler, etc.

To get more help on this, use

:help laststatus

 rate this tip  Life Changing Helpful Unfulfilling 

<< Highlighting all the search pattern matches | Avoiding the "Hit ENTER to continue" prompts >>

Additional Notes

Anonymous, July 5, 2005 7:59
annoying. my vim shows me only current mode (IF not normal)
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.
   
SourceForge.net Logo