This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/git-thoughtbot-git-flow
This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/git-thoughtbot-git-flow
fast question when you was changing ’ to ", what motion did you use? u use count * w?
Hello @wwilyW, the operator I used comes from surround.vim, a plugin that provides extra commands for use with surrounding text.
You can see more about how we at thoughtbot use Surround in this section of the Onramp to Vim trail.
Lastly, to fully answer your question, I used cs
which comes from surround, then '
, then "
. So “change surrounding single-quote to double-quote” => cs'"
.