Re:What's the deal with Ctrl+Left and Ctrl+Right?
by whipoodle on Wednesday August 16, 2017 @09:42AM
(#15027342)
I like how Sublime does this. On the Mac, if you use Ctrl instead of Option, it gives you the ability to delete individual words in a camelCase or snake_case identifier.
[ Parent
| on HN ]
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by stinos on Wednesday August 16, 2017 @09:53AM
(#15027429)
For the sake of completeness: on Windows and Unix Ctrl goes over entire words while Alt considers camelCase and under_score.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by Siecje on Wednesday August 16, 2017 @09:56AM
(#15027464)
Are you saying Alt+Left or Alt+Right work? They don't work for me on Windows or Ubuntu Linux.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by stinos on Wednesday August 16, 2017 @09:58AM
(#15027479)
Strange, works fine here. Dev Channel build 3142 if that matters.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by woodrowbarlow on Wednesday August 16, 2017 @10:10AM
(#15027563)
sublime has a configuration option ("word_separators") that lets you set which characters are considered to separate words. you can add the underscore to this option.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by robin_reala on Wednesday August 16, 2017 @09:48AM
(#15027395)
I did not know that, mostly because I had ctrl+arrows uselessly bound to Mission Control. Thanks!