Edit Command Palette
Add/edit commands for your Command Palette
Details
Installs
- Total 15K
- Win 11K
- Mac 3K
- Linux 2K
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 2 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 2 | 1 | 2 | 0 | 0 | 0 | 1 | 2 | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 2 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-edit-command-palette
Add/edit commands for your Command Palette
This plugin was created out of frustration that multiple plugin creators write key bindings but nothing for the command palette.
Getting Started
Installation
This package is available under Edit Command Palette
inside of Package Control, a Sublime Text plugin that allows for easy management of other plugins.
If you prefer the manual route, you can install the script via the following command in the Sublime Text terminal (ctrl+`
) which utilizes git clone
.
import os; path=sublime.packages_path(); (os.makedirs(path) if not os.path.exists(path) else None); window.run_command('exec', {'cmd': ['git', 'clone', 'https://github.com/twolfson/sublime-edit-command-palette', 'Edit Command Palette'], 'working_dir': path})
Packages can be uninstalled via “Package Control: Remove Package” via the command pallete, ctrl+shift+p
on Windows/Linux, command+shift+p
on Mac.
Command Palette
sublime-edit-command-palette
provides 2 commands to access Sublime Text's commands:
Preferences: Commands - Default
- Opens default commands provided by Sublime TextPreferences: Commands - User
- Opens custom user commands and provides prompt for first-timers
Menu
sublime-edit-command-palette
defines 2 menu items under Preferences
:
Commands - Default
- Opens default commands provided by Sublime TextCommands - User
- Opens custom user commands and provides prompt for first-timers
Documentation
edit_command_palette_open_user(self)
edit_command_palette_open_user
creates a default Packages/User/Default.sublime-commands
containing a prompt for the user, opens it, and sets the language to JSON.
We add in the default and language to make it more approachable. Otherwise, it would be an empty file and in plain text by default.
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
Donating
Support this project and others by twolfson via gratipay.
Unlicense
As of Oct 31 2014, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.