Hi David, Did you mean I should create a "nmap" for <C-R> ? Can you elaborate?
-- -- Best Regards Jerry Dai On Thu, Aug 29, 2013 at 4:03 PM, glts <[email protected]> wrote: > Hey Jerry, > > On Friday, August 30, 2013 12:50:47 AM UTC+2, Jerry Dai wrote: >> In insert mode, I will get current file name by: >> <C-R>% >> >> Is there anything similiar can give me a full hierarchical path? > > how about > > <C-R>=expand("%:p")<CR> > > Best, > David > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
