Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim replace word with copied

yiw		Yank inner word (copy word under cursor, say "first").
...		Move the cursor to another word (say "second").
viwp	Select "second", then replace it with "first".
 
PREVIOUS NEXT
Tagged: #vim #replace #word #copied
ADD COMMENT
Topic
Name
3+9 =