Thursday, August 26, 2010

Getting word under cursor

Hi,

Currently I want to make to script that grepping word under cursor in my project files.
But until know I still confuse how to get the word under cursor, I've been used expand("<cword>") but
I just return the first word of line and the last one.

Thank you.

Best Regards,


Gusman Dharma P

--
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

No comments: