FindKeyConflicts
Plugin for Sublime Text to help identify conflicting key mappings.
Details
Installs
- Total 42K
- Win 21K
- Mac 15K
- Linux 6K
Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 1 | 0 | 1 | 0 | 3 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 2 | 0 | 1 | 4 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 3 | 1 | 0 | 1 |
Mac | 0 | 0 | 0 | 3 | 1 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 4 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
FindKeyConflicts
Assist in finding key conflicts between various plugins. This plugin will report back shortcut keys that are mapped to more than one package. This does not guarantee that the listed plugins are necessarily in conflict, as details, such as context, are ignored. This is simply a tool to help assist what plugins may be conflicting.
Installation
Manual
Clone or copy this repository into the packages directory. By default, they are located at:
- OS X: ~/Library/Application Support/Sublime Text 2/Packages/
- Windows: %APPDATA%/Roaming/Sublime Text 2/Packages/
- Linux: ~/.config/sublime-text-2/Packages/
Package Control
Installation through package control is recommended. It will handle updating your packages as they become available. To install, do the following.
- In the Command Palette, enter
Package Control: Install Package
- Search for
FindKeyConflicts
Usage
This plugin can be run through specifying commands on the command palette. The commands are listed in alphabetical order, beginning with modifiers (alt, cntl, shift, super), followed by keys. The commands are as follows:
FindKeyConflicts: All Key Maps to Quick Panel
:
Displays all key mappings in a quick panel. Selecting an entry will open a buffer with additional details about the key binding.
FindKeyConflicts: All Key Maps to Buffer
:
Displays all key mappings in a buffer.
FindKeyConflicts: (Direct) Conflicts to Quick Panel
:
This command finds all direct key conflicts, and displays them on the quick panel. The last package listed under the command is the source for the command being run, if it is not limited by context. Selecting a particular entry will open a buffer with details about that key binding.
FindKeyConflicts: (Direct) Conflicts to Buffer
:
Display key direct conflicts in a view. Using this will give a better idea of how commands conflict, as the context for the commands will be included in the output. The last package listed for a particular binding is the command that is used, if it is not limited by context.
FindKeyConflicts: Overlap Conflicts
:
Displays key bindings that overlap with mutli part key bindings in a buffer. For example, if ["ctrl+t"]
exists as one binding and ["ctrl+t", "t"]
, exists as another binding, this will be displayed.
FindKeyConflicts: All Conflicts
:
Displays all conflicts in a buffer. This option will include both direct and overlapping conflicts.
FindKeyConflicts: Single Package Conflicts
:
Displays conflicts that involve the selected package.
FindKeyConflicts: Multiple Package Conflicts
:
Displays conflicts that involve the selected packages. Select (Done)
when you are done selecting packages. You may use (View Selected)
and (View Packages)
to view the selected packages and the package list respsectively. Also, you may remove packages from the selected list by pressing enter
when viewing the selected packages list.
FindKeyConflicts: Command Search
:
Display a list of the packages containing keymap files. After selecting a package, a list of commands will be displayed in the quick panel. Selecting a command from the subsequent list will run the command.
Settings
ignored_packages
:
An array containing packages to ignore. Note that the ignored_packages
in the Preferences are automatically added to this list.
ignore_single_key
:
Boolean value specifying if single key bindings should be ignored. False by default.
ignore_patterns
:
Array containing key patterns to ignore. These should follow the same guidelines as specifying key bindings.
display_internal_conflicts
:
Boolean value used to determine if internal command conflicts to a package should be displayed.
Notes
Thanks to bizoo for sharing their work with me. Thanks to getify for the json minifier. Thanks to facelessuser for the strip dangling commas work.