Add a number to each selection in Sublime Text 2, incremented once per selection

Is there a way to add insert a number that is incremented once per cursor in Sublime Text 2? Example, with | as the cursor: Lorem ipsum dolor sit amet, | vehicula sed, mauris nam eget| neque a pede nullam, ducimus adipiscing, vestibulum pellentesque pellentesque laoreet faucibus.| Desired result: Lorem ipsum dolor sit amet, 1| … Read more

How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?

I have some code like: testVar = { a: 1 }; testVariable1 = 2; var c = testVar.a + testVariable2; var d = testVar; I want to rename “testVar” variable. When I set multiple cursors with Ctrl+D and edit variable, “testVariable” is also selected and edited. Is there a way to skip some selections while … Read more

How to use Sublime over SSH

I’m trying to use Sublime Text 2 as an editor when I SSH in to my work server, and I’m stumped. I found this http://urbangiraffe.com/2011/08/13/remote-editing-with-sublime-text-2/ (among many other posts) that looks like it might help, but I don’t follow it exactly, particularly with what values I should put in for the remote variable in line … Read more