Home Download Buy Blog Forum Support

Delete whitespace to right of cursor

Delete whitespace to right of cursor

Postby djczaski on Wed Mar 06, 2013 10:26 pm

A common thing I'd like to do but haven't been able to figure out how. If I have a multi-line column selection is to delete the whitespace to the right. It's easier to show in this picture. I'm brand new to ST2 so maybe this is obvious. I've looked at some plugins by they seem more focused on lining up equal sign and such.

Image
djczaski
 
Posts: 11
Joined: Tue Mar 05, 2013 3:56 am

Re: Delete whitespace to right of cursor

Postby adzenith on Thu Mar 07, 2013 3:06 am

One easy way is to use option+shift+arrow. In your case I would press left once, then option+shift+right, then left again (to deselect the comma) then delete.
adzenith
 
Posts: 1216
Joined: Mon Oct 19, 2009 9:12 pm

Re: Delete whitespace to right of cursor

Postby myunlessor on Thu Mar 07, 2013 3:11 am

`Delete Word Forward ` command for your need too, the cmd located in menu Edit | Text | Delete Word Forward, and the default keyboard shortcut is `Ctrl + Delete` on windows
myunlessor
 
Posts: 19
Joined: Thu Mar 07, 2013 3:07 am

Re: Delete whitespace to right of cursor

Postby djczaski on Thu Mar 07, 2013 3:45 am

That works perfectly. Thank you both!!!
djczaski
 
Posts: 11
Joined: Tue Mar 05, 2013 3:56 am


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 36 guests