Quantcast
Channel: Renaming variables - Vi and Vim Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Geremia for Renaming variables

Place cursor at name to rename and typegd (or gD if you're renaming a global variable).gd Goto local Declaration. When the cursor is on a local variable, this command will jump to its declaration....

View Article


Renaming variables

What is the simplest way to rename variables in Vim, without adding any new packages? Is there a way without using regexps, too?

View Article
Browsing latest articles
Browse All 2 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>