Home Download Buy Blog Forum Support

underscores and key combo "ctrl + array"

underscores and key combo "ctrl + array"

Postby eriklovlie on Thu Mar 10, 2011 2:04 pm

It would be nice if the text marker would stop at underscores inside identifiers in c code when pressing ctrl and an arrow key. Today (sublime text 2 build 2039) the marker skips past the underscore and stops only at the next word/identifier. This behavior is inconsistent with other text editors which are used for programming, such as gedit.
eriklovlie
 
Posts: 2
Joined: Thu Mar 10, 2011 1:59 pm

Re: underscores and key combo "ctrl + array"

Postby guillermooo on Thu Mar 10, 2011 2:28 pm

eriklovlie wrote:It would be nice if the text marker would stop at underscores inside identifiers in c code when pressing ctrl and an arrow key. Today (sublime text 2 build 2039) the marker skips past the underscore and stops only at the next word/identifier.


ALT + (LEFT|RIGHT) navigates through subwords.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: underscores and key combo "ctrl + array"

Postby eriklovlie on Fri Mar 11, 2011 8:34 am

Ah, thank :)
eriklovlie
 
Posts: 2
Joined: Thu Mar 10, 2011 1:59 pm

Re: underscores and key combo "ctrl + array"

Postby davidfregoli on Tue Apr 16, 2013 11:54 am

Sorry for the digging: would it be possible to implement sub-word deletion with alt+delete similarly to ctrl+delete?
davidfregoli
 
Posts: 6
Joined: Tue Apr 16, 2013 11:52 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests