Great ! Thanks :) Best regards, Cyril
On Wed, Apr 15, 2009 at 11:26 AM, Kim Schulz <[email protected]> wrote: > > > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of Cyril SANTUNE >> Sent: 15. april 2009 11:14 >> To: [email protected] >> Subject: Insert the file name in the text >> >> >> Hi, >> >> We can obtain the name of the edited file with ":f" but how can >> insert >> the file name in the text directly? > > Filename is accessible in %: > In insert mode: <C-R>% > In normal mode: "%p > > cheers > Kim > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
