Sublime Forum

Default key bindings suddenly not working

#1

Hi!

ATM I can use a bunch of key bindings which worked beautifully until recently, and I’m not sure what I’ve changed (haven’t installed any new plugins recently).

in particular, the keys I’m missing are:

  • cmd+shift+d: duplicate line

  • ctl+opt+down: move line down (up fails, too)

  • cmd+/: comment

i don’t notice many other shortcuts failing. hmm…

I’ve been logging commands:

sublime.log_input(True)
sublime.log_commands(True)

and i see:

key evt: super+/
command: toggle_comment {"block": false}

but Comment is greyed out in the Edit menu, and the keystroke has no effect in all the correctly syntax highlighted files i’m working in (php, less, jade, js, apache)

Have tried repair permissions, searches, no updates available… might be on track for a reinstall :confused:

Any sage suggestions? TIA, Tim

I’m on a mac: OSX10.8.3, ST3 build 3021

0 Likes

#2

I’m experiencing the exact same problem.

I’m also on a MAC OS X 10.8.3 and using ST3 build 3033.

0 Likes

#3

Guessing the comment command didn’t load properly. Did you check the console for errors at start up?

0 Likes

#4

Indeed, the console indicated a many of errors. I simply removed all offensive packages and everything returned to normal. Thanks

0 Likes

#5

Hi there,

I’d like just to say that CTRL+/ is not working here also. Linux 64bit build 3047.

I was having issues with one plugin, disabled that, but nothing changed.

Cheers

0 Likes

#6

write that in your Default (Linux).sublime-keymap file

{ "keys": "ctrl+7"], "command": "toggle_comment", "args": { "block": false } }, { "keys": "ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }

0 Likes