How to quickly change variable names in Vim?

前端 未结 7 1900
庸人自扰
庸人自扰 2020-12-12 08:55

I am using Vim to read through a lot of C and Perl code containing many single letter variable names.

It would be nice to have some command to change the name of a va

7条回答
  •  庸人自扰
    2020-12-12 09:13

    In c, you may be able to make some progress using cscope. It makes an attempt at understanding syntax, so would have a chance of knowing when the letter was a variable.

提交回复
热议问题