Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST3: Disabling keybindings doesn't work #8

Open
pmorch opened this issue Jun 19, 2013 · 6 comments
Open

ST3: Disabling keybindings doesn't work #8

pmorch opened this issue Jun 19, 2013 · 6 comments

Comments

@pmorch
Copy link

pmorch commented Jun 19, 2013

I wanted to disable the "right" keybinding, but it doesn't work in ST3, even though the exact same procedure works for me in ST2.

I've created a $HOME/.config/sublime-text-3/Packages/User/SimpleClone.sublime-settings file (on Linux) containing

{ "disabled_keymaps": "all" }

But ctrl+shift+right still clones. Creating the exact same file for ST2 ($HOME/.config/sublime-text-3/Packages/User/SimpleClone.sublime-settings) works like a charm.

The only workaround I could use: Install the package in a directory and edit $HOME/.config/sublime-text-3/Packages/SimpleClone/Default (Linux).sublime-keymap to remove the binding manually.

@mikefowler
Copy link
Owner

Interesting. The solution to this isn't immediately apparent to me, but I'll investigate when I have some time. In the meantime if you discover a more elegant solution, feel free to send a pull request my way.

@ddauer
Copy link

ddauer commented Nov 3, 2013

Same issue here on OS X. Overriding the key bindings doesn't work...

@artivilla
Copy link

Yup, doesn't work. I'm using OS X Mavericks. Trying to disable the right key.

@mikefowler
Copy link
Owner

Thanks for reporting all. I'm fairly busy with other projects at the moment, so if anybody wants to take a shot at a bugfix I'll happily merge your pull request. Thanks!

@fhemberger
Copy link

PR #9 doesn't seem to fix the issue, had to extract the package and change Default (OSX).sublime-keymap manually.

@karlobermeyer
Copy link

karlobermeyer commented Sep 10, 2016

When the { "disabled_keymaps": "all" } thing didn't work for me, with Sublime Text 3 on Max OS X 10.10.5, I was able to restore selection key bindings by going to Preferences -> Keybindings - User, and entering
[
{ "keys": ["shift+command+left"], "command": "move_to", "args": {"to": "bol", "extend": true } },
{ "keys": ["shift+command+right"], "command": "move_to", "args": {"to": "eol", "extend": true } },
{ "keys": ["shift+command+up"], "command": "move_to", "args": {"to": "bof", "extend": true } },
{ "keys": ["shift+command+down"], "command": "move_to", "args": {"to": "eof", "extend": true } }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants