RE: Full path of current file?

0 views
Skip to first unread message

Naim Far

unread,
Nov 19, 2008, 1:34:33 AM11/19/08
to vim...@googlegroups.com
You can try <CR>1G (Control,1 and G)

Naim...

-----Original Message-----
From: vim...@googlegroups.com [mailto:vim...@googlegroups.com] On
Behalf Of 703designs
Sent: Wednesday, November 05, 2008 4:48 AM
To: vim_use
Subject: Full path of current file?


export("%:s") only returns the path based on the current directory,
but I need to retrieve the full root.

Tony Mechelynck

unread,
Nov 19, 2008, 1:49:09 AM11/19/08
to vim...@googlegroups.com

See ":help filename-modifiers". What you want is :p, not :s


Best regards,
Tony.
--
Immortality -- a fate worse than death.
-- Edgar A. Shoaff

石康志

unread,
Nov 19, 2008, 1:42:35 AM11/19/08
to vim...@googlegroups.com
%:p ?

2008/11/19 Naim Far <Naim...@zoran.com>



--
qingshi163
Reply all
Reply to author
Forward
0 new messages