Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/staticf0x/sublime-plugins
My sublime plugins and snippets
https://github.com/staticf0x/sublime-plugins
Last synced: 3 days ago
JSON representation
My sublime plugins and snippets
- Host: GitHub
- URL: https://github.com/staticf0x/sublime-plugins
- Owner: staticf0x
- License: mit
- Created: 2023-05-04T12:53:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-04T14:44:23.000Z (5 months ago)
- Last Synced: 2024-08-04T16:36:04.578Z (5 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sublime-plugins
This repo contains some helpful Sublime Text plugins and snippets
I use in my daily work.## Installation
Copy the contents into `~/.config/sublime-text/Packages/User`.
## Configuration
These plugins use per-project config. The plugin config goes inside each
`your-project.sublime-project`, inside the `settings` key.For example:
```json
{
"settings":
{
"rulers":
[
80,
100
],
"gitlab_url": "https://gitlab.com/group/project/-/blob/master/{}#L{}",
"jira_url": "https://your.jira.instance.com/browse/{}",
}
}
```## Jira Lookup
This plugin will find any JIRA ticket number and open the ticket in your web
browser.### Config
`jira_url` -- `"https://your.jira.instance.com/browse/{}"`
The placeholder is for the ticket number.
## Copy GitLab Link
This plugin copies a sharable link to a GitLab instance to the open file
inside a project.### Config
`gitlab_url` -- `"https://gitlab.com/group/project/-/blob/master/{}#L{}"`
First placeholder is for the file path, second for the line number.
## Snippets
For the `breakpoint` snippet it's good to set a shortcut like ctrl + shift + b, like this:
```json
{ "keys": ["ctrl+shift+b"], "command": "insert_snippet", "args": {"name": "Packages/User/breakpoint.sublime-snippet"}}
```