59949Re: How to copy - word under cursor and filename with full path to clipboard.
- Jun 28, 2005Hi,
Sanjeev Sapre wrote:
>nmap <F4> :let @* = expand('<cword>')<cr>
> I am looking for help on how to copy
> 1. Word under cursor
> 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.Regards,
Jürgen Krämer Softwareentwicklung
HABEL GmbH & Co. KG mailto:jkr@...
Hinteres Öschle 2 Tel: +49 / 74 61 / 93 53 - 15
78604 Rietheim-Weilheim Fax: +49 / 74 61 / 93 53 - 99
- << Previous post in topic Next post in topic >>