Skip to content

Instantly share code, notes, and snippets.

@mattst
mattst / AlterIgnoredPackages.py
Last active May 11, 2020 14:45
Sublime Text plugin to add, remove, or toggle packages in the ignored_packages setting
#
# Save as AlterIgnoredPackages.py in your user packages directory.
# e.g. ~/.config/sublime-text-3/Packages/User/AlterIgnoredPackages.py
#
# Here are some key binding examples:
#
# {
# "keys": ["ctrl+k", "ctrl+z"],
# "command": "alter_ignored_packages",
# "args": {"add_list": ["PackageName1"],
@mattst
mattst / Bound Keys Example Output
Last active May 14, 2020 09:43
BoundKeys plugin example output heavily edited
________________________________________________________________________________________________________________________________
| User key bindings - /home/ms/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap |
________________________________________________________________________________________________________________________________
|ctrl+k, ctrl+q |exit | | |
|ctrl+shift+pageup |move_tab_in_group |direction: left | |
|ctrl+shift+pagedown |move_tab_in_group |direction: right | |
|ctrl+shift+v |paste_ahead | |Default |
|ctrl+7 |focus_group |group: 0 |Default
@mattst
mattst / DeleteToWhitespace.py
Last active March 30, 2021 17:16
A Sublime Text plugin to delete the text ahead or behind of the cursor breaking at whitespace characters
#
# Name: Delete To Whitespace
# Requires: Plugin for Sublime Text v3
# Author: mattst - https://github.com/mattst
# Command: delete_to_whitespace
# Args: forwards: bool (delete backwards if false)
# License: MIT License
# See Also: https://stackoverflow.com/a/66870369/2102457
#