Sublime Forum

Option-Shift-Right/Left

#1

I am using build 4148 on macOS and I used to be able to type option-shift-right or option-shift-left to select the word to the right or left side of the cursor, respectively. I would be able to extend that selection by continuing to hit the cursor key. That has stopped working and it still works in every app on my Mac. What has changed and how do I get that behavior back? I see the following in the key-bindings, which is what I assume controls this behavior.

    { "keys": ["ctrl+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
	{ "keys": ["ctrl+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },

Thank you for your help!

0 Likes

#2

Does it work in safe mode?

0 Likes

#3

It does not work in Safe Mode either. It works in every other app I use. This is making me bonkers since I am starting to spend a ton of time in LaTeX again. Can anyone help?

0 Likes

#4

It’s working fine on my end. What gets logged when you enable sublime.log_commands(True); sublime.log_input(True) in the console (View > Show Console)?

0 Likes

#5

Thank you for trying to help me with this.

When I enable that in the Console and I type shift-right_cursor, it shows:

key evt: shift+right
command: move {“by”: “characters”, “forward”: true, “extend”:true}
command: guna_tweak_widget

If I type shift-option-right_cursor, I get:

key evt: shift+alt+right
command: guna_color_edit {“cmd”: “sat_up”}
command: guna_tweak_widget

Does that help?

0 Likes

#6

The Guna package you’ve installed has a keybinding for alt+shift+right that’s overriding the default: https://github.com/poucotm/Guna/blob/master/Default%20(OSX).sublime-keymap.

1 Like

#7

Thank you! Package removed and problem fixed. The amazing information you have provided will help me debug issues like this should they come up again.

0 Likes