|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Continuously display the file name in vim
Hi All,
In vim, when we press ^G, the file name is displayed at the bottom of the screen and as soon as we enter into some other mode (say e.g. Insert), the file name is replaced by the words "Insert". I was just wondering whether it is possible to continuously show the file name no matter which mode we are in? Thanks in advance. |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
Code:
set modeline set ls=2 Add this line into your .vimrc file. Now you can see the file name in the bottom always. Last edited by thillai_selvan; 03-19-2010 at 03:49 AM.. |
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
Add this in your vimrc , you will have the file name in the bottom . Code:
set ls=2 |
|
#4
|
|||
|
|||
|
Thanks thillai_selvan and karthigayan.
The solution Rocks!! |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parsing log file continuously | rchaitanya | UNIX for Dummies Questions & Answers | 5 | 02-15-2010 10:19 AM |
| Shell Script to continuously scan a log file | novice82 | Shell Programming and Scripting | 1 | 10-09-2009 01:03 AM |
| "lpr.error] Warning: Received SIGPIPE" continuously appearing in logs | aussieos | Solaris | 4 | 07-20-2009 03:12 AM |
| display the userid's of a file | raidkridley | UNIX for Dummies Questions & Answers | 5 | 10-21-2008 02:52 AM |
| Display a particular line from a file | Rohini Vijay | Shell Programming and Scripting | 5 | 07-31-2006 07:27 AM |
|
|