settings-view icon indicating copy to clipboard operation
settings-view copied to clipboard

Keybinding shows for a package even when unset

Open lee-dohm opened this issue 11 years ago • 2 comments

For example, I have the following in my keymap.cson:

'.autocomplete-plus input.hidden-input':
  'tab': 'unset!'
  'enter': 'autocomplete-plus:confirm'

But this shows in the Settings View for Autocomplete Plus:

screenshot_2014-06-18_12_32_46

Perhaps just rendering the entry with strikethrough would be best because you could see that it is there by default, but isn't enabled right now.

lee-dohm avatar Jun 18 '14 19:06 lee-dohm

So, basically the solution is gonna be, if a 'unset!' for a keystroke in a scope exists, mark the matching keybindings as "unset".

Maybe grey it out and add an info icon with a tooltip "Unset by SOURCE"?

bastilian avatar Jun 24 '16 10:06 bastilian

Hm. maybe not an info icon, but the "circle-slash" octicon to show it's disabled and possibly use it to toggle the keymap-setting.

bastilian avatar Jun 24 '16 16:06 bastilian