Upcase

© 2012 - 2015 thoughtbot, inc. Upcase, the design of a robot, and thoughtbot are registered trademarks of thoughtbot, inc.


This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/git-thoughtbot-git-flow

fast question :slight_smile: 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'".