On 6 December 2010 20:54, H Xu wrote: > How could I put the word under cursor as the argument of an command? > Is there any way to do this fast? Thanks.
:call SomeFunction(expand("<cword>"))
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
--
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
