Home Download Buy Blog Forum Support

Swapper

Swapper

Postby Jawbfl on Mon Jan 21, 2013 6:46 pm

Hi everyone,
I want to share with you a simple plugin, but I think it's very useful. It's called Swapper , simply it swaps the two characters just before the cursor.
How many times you wanted to type 'ea' and you end up with 'ae' then you press backspace twice then rewrite, that's 4 presses. With Swapper you do that with just one press f1.
That's it, you can get it from github https://github.com/jawb/Swapper , I'll add it to Package Control soon.
Jawbfl
 
Posts: 7
Joined: Thu Aug 16, 2012 4:20 pm

Re: Swapper

Postby bizoo on Mon Jan 21, 2013 10:32 pm

Jawbfl wrote:How many times you wanted to type 'ea' and you end up with 'ae' then you press backspace twice then rewrite, that's 4 presses. With Swapper you do that with just one press f1.

Actually not very often, but I'm not native english.

The Transpose command (ctrl+t) do almost the same, if you want to do exactly what you want you can write a macro:
Code: Select all
move {"by": "characters", "forward": false}
transpose
bizoo
 
Posts: 879
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Swapper

Postby Jawbfl on Tue Jan 22, 2013 12:28 pm

I'am not native English, but I do that mistake a lot , very nice trick by the way I didn't know it !! But actually I'am planing to extend the plugin and add more text manipulation tricks that I need everyday.
Jawbfl
 
Posts: 7
Joined: Thu Aug 16, 2012 4:20 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 6 guests