https://github.com/mitranim/sublime-misc
Minor Sublime Text utils for personal use. Published as a backup and for code sharing.
https://github.com/mitranim/sublime-misc
Last synced: 4 months ago
JSON representation
Minor Sublime Text utils for personal use. Published as a backup and for code sharing.
- Host: GitHub
- URL: https://github.com/mitranim/sublime-misc
- Owner: mitranim
- Created: 2021-01-22T16:14:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-28T15:25:25.000Z (11 months ago)
- Last Synced: 2025-09-12T00:17:28.757Z (4 months ago)
- Language: Python
- Size: 37.1 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Overview
Collection of tiny Sublime Text utilities, fashioned as a single plugin. Mostly undocumented, published as a backup and for easy code sharing.
## Installation
Clone the repo and symlink it to your Sublime packages directory. Example for MacOS:
```sh
git clone https://github.com/mitranim/sublime-misc.git
cd sublime-misc
ln -sf "$(pwd)" "$HOME/Library/Application Support/Sublime Text/Packages/"
```
To find the packages directory on your system, use Sublime Text menu → Preferences → Browse Packages.
## Keymaps
To enable the comment continuation feature, add the following to your keymap:
```json
{
"keys": ["enter"],
"command": "run_macro_file",
"args": {"file": "res://Packages/sublime-misc/continue_line_comment.sublime-macro"},
"context": [{"key": "selector", "operand": "comment.line - punctuation.definition.comment"}],
},
```
## License
https://unlicense.org
Small pieces of code were ported from ST internals (C++). Samples were courteously provided by ST creator. Different conditions might apply.