Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 418 Bytes

tip33.md

File metadata and controls

15 lines (10 loc) · 418 Bytes

Tip33: Insert the Current Word at the Command Prompt

<C-r><C-w>

copy the word under the cursor and insert it at the command-line prompt.

*

search for each occurrence that cursor positioned. and cursor jump forward to the next match. equal to typing /\<<C-r><C-w>\><CR>

tip33

:%s//<C-r><C-w>/g

replace the others.