Vim Tips Wiki
(Move categories to tip template)
m (Reverted edits by 5.111.73.215 (talk) to last revision by JohnBot)
Tag: Rollback
 
(2 intermediate revisions by 2 users not shown)
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 22:
   
 
==Comments==
 
==Comments==
 
----
 

Latest revision as of 04:22, 29 November 2020

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.

References[]

Comments[]