So I've been researching more about VIM recently. I took a look at a few plugins used by a certain unnamed company and found one that I think is extremely useful, although the syntax for the command is a bit onerous. Here goes anyway. It's called Surround.vim (
find it here)
If you have text that looks like this:
"Some text"
you can change the double quotes to single quotes by issuing the following command:
cs"'
Pretty powerful, huh? That's only a fraction of what it allows you to do. Check out the vimscripts site for more info on it
No comments:
Post a Comment