Wednesday, September 28, 2011

function to get word under cursor

Hello to everyone!

Is there any standard function to get the word under cursor ( as */# search commands do ) or I should write it by myself using getline('.')?

P.S. Also I'd like to ask whether you know some good vim scripting cheatsheet or advanced guide (cause I don't want to flood this group
up with questions about basic functions a lot )?

--
Best regards
Golubev Mikhail

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

Post a Comment