Home Download Buy Blog Forum Support

Skip lines while using CTRL + ALT + Up

Skip lines while using CTRL + ALT + Up

Postby nscr on Tue Aug 27, 2013 3:32 pm

I'm expanding cursor to multiple lines with CTRL + ALT + Up however I'd like to skip few lines here and there. Something like press CTRL + ALT + Right arrow to skip a line and CTRL + ALT + Left to undo that skip. Where can I hack this change in? What files should I be looking at?
nscr
 
Posts: 2
Joined: Sun Aug 18, 2013 4:03 pm

Re: Skip lines while using CTRL + ALT + Up

Postby Veedrac on Wed Aug 28, 2013 12:58 am

nscr wrote:I'm expanding cursor to multiple lines with CTRL + ALT + Up however I'd like to skip few lines here and there. Something like press CTRL + ALT + Right arrow to skip a line and CTRL + ALT + Left to undo that skip. Where can I hack this change in? What files should I be looking at?


If you're wanting to skip blank lines, my Sublime Extras extension has a different but totally usable approach (see third animated png).

If that's not good enough for you, see the add_selections file for a good start.
Veedrac
 
Posts: 19
Joined: Sun Aug 18, 2013 4:16 pm

Re: Skip lines while using CTRL + ALT + Up

Postby nscr on Wed Aug 28, 2013 8:25 am

Thank you for the pointer. I'll take a look at it.
nscr
 
Posts: 2
Joined: Sun Aug 18, 2013 4:03 pm

Re: Skip lines while using CTRL + ALT + Up

Postby sankglory on Tue Apr 01, 2014 5:24 pm

You might want to take a look at the PowerCursors plugin. It allows you to remove some of the cursors you don't want and/or adjust their positions without moving other cursors.

github page:
https://github.com/MaokaiLin/PowerCursors/
sankglory
 
Posts: 4
Joined: Tue Apr 01, 2014 4:55 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 8 guests