Joined May 2011
·

Jared McFarland

FutureAdvisor
·
San Francisco, CA
·
·
·

Posted to Removing whitespace with Vim over 1 year ago

@akhilravidas Thanks! I didn't realize that... I was actually unsure what the difference between using %s and the g flag was, but now it makes sense.

Hey jacaetevha, have you seen Vim Multiple Cursors?

Sumblime Text 2 uses their macro/key-binding system to emulate Vim behavior, but it's not Vim. After switching from ST2 to Vim, I tried to go back. In my experience, the Vim keybindings in ST2 were just plain slow. There was noticeable lag between when I'd push "dd" and have the line disappear.

It's also not a full implementation. It was a few months ago that I tried to switch back to ST2, so I don't remember all the details, but several commands weren't working so I didn't stick around too long.

Achievements
213 Karma
19,597 Total ProTip Views