gn: Vim Commands You NEED TO KNOW #4



X:

Need to refactor a method or rename a variable in a file? Here’s another great way to do so that I love using – it’s the g+n command.

Combined with prefixes (like ‘c’), the gn command becomes incredibly versatile.



source

Exit mobile version