To re-use matches and registers in replace:
%s/(\w+)/\=@a . submatch(1)/gFurther reference: https://vim.fandom.com/wiki/Search_and_replace
To re-use matches and registers in replace:
%s/(\w+)/\=@a . submatch(1)/gFurther reference: https://vim.fandom.com/wiki/Search_and_replace
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |