Skip to content
Shuai YUAN edited this page May 29, 2015 · 1 revision

Tip 33: Insert the Current Word at the Command Prompt

Return to the top: <>

  • ``: mapping copies the word under the cursor and inserts it at the command-line prompt.
  • ``: mapping copies the WORD under the cursor and inserts it at the command-line prompt.
  • `*`: equivalent to `/\<\>`

Example:

Application: place your cursor on a Vim script, and use `:help ` to look up the documentation for that setting.

References:

Table of Contents


Clone this wiki locally