One of the frequent action repeated is replacing/renaming a word. It deserved a quick and easy way of doing.
nnoremap <leader>rw :%s/<C-r><C-w>//gc<Left><Left><Left>
nnoremap <leader>r :%s///gc<Left><Left><Left><Left>
Thank you for reading! Clap if you liked this post. Have any feedback/comments? Please leave them here!