Home Download Buy Blog Forum Support

Gist overriding built-in lowercase keybindings

Gist overriding built-in lowercase keybindings

Postby skube on Wed Aug 15, 2012 5:33 pm

I have Gist installed which has defined in it's keymap file
Code: Select all
{ "keys": ["ctrl+k", "ctrl+l"], "command": "gist_private" },

Obviously, this overrides ST2 lowercase shortcut (Ctrl+k, Ctrl+l). I'm trying to understand how to best prevent this from happening. If I simply comment out the line in Gist's keymap file, then that works until I do and Upgrade/Overwrite All Packages, which then overwrites the Gist default keymap file. If instead, I assign new definition in my Key Bindings - User file, the lowercase command still doesn't work.

What is the proper way to handle these scenarios?
Posts: 89
Joined: Tue Feb 28, 2012 8:42 pm

Re: Gist overriding built-in lowercase keybindings

Postby PHANT0M on Sun Aug 26, 2012 1:51 pm

You can add lower case binding to your Key Bindings - User settings:

Code: Select all
{ "keys": ["ctrl+k", "ctrl+l"], "command": "lower_case" }

I've tried and it works fine. As I remember, when I start this plugin binding "ctrl+k", "ctrl+l" was free.
Posts: 7
Joined: Sat Oct 08, 2011 7:16 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 29 guests