Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitranim/sublime-caser
Sublime Text plugin for converting typographic cases
https://github.com/mitranim/sublime-caser
case-converter plugin sublime-text
Last synced: about 13 hours ago
JSON representation
Sublime Text plugin for converting typographic cases
- Host: GitHub
- URL: https://github.com/mitranim/sublime-caser
- Owner: mitranim
- Created: 2018-08-28T09:48:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-30T11:06:46.000Z (about 1 year ago)
- Last Synced: 2025-01-03T05:05:46.408Z (7 days ago)
- Topics: case-converter, plugin, sublime-text
- Language: Python
- Size: 7.81 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Overview
Sublime Text plugin for converting between cases:
* `lower sentence case`
* `Title Sentence Case`
* `UPPER SENTENCE CASE`
* `lowerCamelCase`
* `TitleCamelCase`
* `lower_snake_case`
* `Title_snake_sase`
* `UPPER_SNAKE_CASE`
* `lower-kebab-case`
* `Title-Kebab-Case`
* `UPPER-KEBAB-CASE`
* lower initials: `li`
* upper initials: `UI`## Installation
Navigate to Sublime's Packages folder:
menu -> Preferences -> Browse Packages
On MacOS, this is usually:
"/Users//Library/Application Support/Sublime Text 3/Packages"
Clone or download the repo into the Packages folder.
## Usage
* Select a few words
* Open the Command Palette via `⌘⇪P` or `^⇪P`
* Type "caser"
* Pick one of the commands
* Enjoy!## Hotkeys
To avoid conflicts, Caser doesn't define any hotkeys. To define a hotkey:
* open menu → Preferences → Key Bindings
* insert something like the following:```json
{
"keys": ["ctrl+shift+c"],
"command": "caser_lower_camel_case"
}
```See the [`sublime-caser.sublime-commands`](sublime-caser.sublime-commands) file for the available command names.
## License
https://unlicense.org
## Misc
I'm receptive to suggestions. If this tool _almost_ satisfies you but needs changes, open an issue or chat me up. Contacts: https://mitranim.com/#contacts