I have put this in my _vimrc and works well
" put word below cursor onto clipboard
map <F4> :let @* = expand('<cword>')<cr>
map! <F4> <Esc>:let @* = expand('<cword>')<cr>
Regards
Sanjeev
Ext : 2852
-----Original Message-----
From: Normandie Azucena [mailto:[EMAIL PROTECTED]
Sent: Friday, May 04, 2007 11:14 AM
To: [email protected]
Subject: getting the word under the cursor
hi all!
how can I get the word under the cursor?
im doing a script and I want my input to be the current word under the
cursor
tnx!
normandie