Home Download Buy Blog Forum Support

Two shortcut questions

Two shortcut questions

Postby AlexMcP on Thu Jul 21, 2011 4:38 pm

I have two shortcut/macro questions:

When I push ctrl + l to select a line, it actually does the 'find anywhere' dropdown with a colon already placed in (for go to line in a file). Is this expected, have those shortcuts been changed? I'm in the newest ST 2 build on Windows.

Next question:

Is there 'text bubbling' functionality? Notepad++ and vim both had this nice feature to, with a cursor on a line, hit ctrl+(direction) and the line is moved up or down, basically in a 'sort' action. This would ideally also work for a block of text.

If there's not bubbling native, what functions would I look into in the API to get it working?

Thanks for any answers!
AlexMcP
 
Posts: 2
Joined: Thu Jul 21, 2011 4:30 pm

Re: Two shortcut questions

Postby AlexMcP on Thu Jul 21, 2011 5:12 pm

Ok, I've answered my own two questions:

Bubbling is handled by swap_line_up and swap_line_down. This works with single lines and selections.

A co worker had supplied me with a keybindings file that over-wrote ctrl+l with that behavior.

Sorry for the clutter!
AlexMcP
 
Posts: 2
Joined: Thu Jul 21, 2011 4:30 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 31 guests