To globally rename a variable within one file, place your cursor on the variable and use *
, then use :%s//NEWNAME/gc
, use the help system to find out what these commands do.
To globally rename a variable within one file, place your cursor on the variable and use *
, then use :%s//NEWNAME/gc
, use the help system to find out what these commands do.