title: How can I get the word under the cursor and the text of the current line in vim script?
body: <p>I'm trying to write a vim script. How can I get the word under the cursor and the text of the current line? I want to use it in my script, thanks.</p>