On Tue, Oct 21, 2008 at 02:53:13PM -0700, Peng Yu wrote:
> 
> Hi,
> 
> Ctrl-G would give me the file name at the bottom. I'm wondering how to
> get the full path of a file.
> 
> Thanks,
> Peng
> > 

Two methods come to mind:

1.  Ctrl-G, when used with a count > 1 is a bit more verbose.  It will
    show the full path of the current file, tilde normalized if it's
    in your $HOME.

2.  :echo expand("%:p") 
    will show the full path, unmodified.

-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to