Wikia

Vim Tips Wiki

Changes: Displaying status line always

Edit

Back to page

(Move categories to tip template)
(Remove html character entities)
 
Line 11: Line 11:
 
|category2=
 
|category2=
 
}}
 
}}
To display the status line always, set the following option in your .vimrc file:
+
To display the status line always, set the following option in your [[vimrc]]:
+
<pre>
:set laststatus=2
+
:set laststatus=2
  +
</pre>
   
 
The advantage of having the status line displayed always is, you can see the current mode, file name, file status, ruler, etc.
 
The advantage of having the status line displayed always is, you can see the current mode, file name, file status, ruler, etc.
Line 21: Line 21:
   
 
==Comments==
 
==Comments==
 
----
 

Latest revision as of 08:18, September 28, 2008

Tip 15 Printable Monobook Previous Next

created February 24, 2001 · complexity basic · author Yegappan · version 5.7


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

: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.

ReferencesEdit

CommentsEdit

Around Wikia's network

Random Wiki