JaredVogt / vimrc

CONFIG: my vimrc
0 stars 0 forks source link

Automatically select word cursor is on and stick it in the replace string #2

Closed JaredVogt closed 8 years ago

JaredVogt commented 8 years ago

so, want to create line :%s/wordundercursor/etc

JaredVogt commented 8 years ago

did it

"select word under cursor and prep for replace
nnoremap <Leader>r *:%s//