> I would like to show the full file path and name for every
> file I edit somewhere on the screen. I can't find how to do
> this, but I know a couple of years ago I solved this problem
> and have since lost the syntax for how to do this.
Sounds like you're hunting the 'statusline' option:
   :help 'statusline'
   :set stl=%{expand('%:p')}%r%h%w
I'm not sure why, when I used "%F%t%r%h%w" in the help for 
options.txt, it gave me "options.txtoptions.txt[RO][Help]" 
instead of "/usr/share/vim/vim72/doc/options.txt[RO][Help]"  The 
help clearly states the "%F" is the "[f]ull path to the file in 
the buffer" but it didn't give me the full path (":pwd" gave me 
the expected "/home/tim").  The help on 'stl' gives you all sorts 
of tweaks you can make to your status line.
-tim
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
To unsubscribe, reply using "remove me" as the subject.
 
No comments:
Post a Comment