Home Download Buy Blog Forum Support

CamelHumps cursor movement

CamelHumps cursor movement

Postby xapoh on Fri Jul 27, 2012 3:51 pm

Some editors (e.g. IntelliJ's IDEA and ReSharper) honor "CamelHumps" when moving cursor or doing selection, so when using Ctrl+left/right to navigate the variable/method/class name, the cursor will stop on every "hump".
For example, if navigating "systemUsernamePasswordMap", the cursor will jump to the beginning of every word part of the variable: "system", then "Username", "Password" and "Map". The same with selection. As you would imagine, that way renaming variables gets much faster.

Can we have the similar mode for Sublime? It does not have to be turned on by default.
If not, maybe this could be implemented as a plugin?
Or maybe it exists already and I am just not seeing it?
xapoh
 
Posts: 8
Joined: Fri Jun 01, 2012 11:50 pm

Re: CamelHumps cursor movement

Postby C0D312 on Fri Jul 27, 2012 4:00 pm

On OSX this happens by default using control + arrow keys.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: CamelHumps cursor movement

Postby xapoh on Fri Jul 27, 2012 4:03 pm

Ah, looks like for Windows Alt+left/right should be used. And Shift+Alt+left/right for selection!
Thank you for pointing in the right direction!
xapoh
 
Posts: 8
Joined: Fri Jun 01, 2012 11:50 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 7 guests