From: Jürgen Krämer [mailto:[hidden email]]
Sent: Tuesday, June 28, 2005 12:54 PM
To: vim mailing list
Subject: Re: How to copy - word under cursor and filename with full path toclipboard.
Sanjeev Sapre wrote:
> I am looking for help on how to copy
> 1. Word under cursor
nmap <F4> :let @* = expand('<cword>')<cr>
> 2. Current file name with full path to clipboard.
nmap <F5> :let @* = expand('%:p')<cr>
> I would preferably map this to certain keys which will be handy.