Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.26 KB

manipulator.md

File metadata and controls

56 lines (45 loc) · 1.26 KB

Manipulator Plugin

This is an simple plugin to extend text manipulation in Micro.

Keybindings

By default no keybindings exist, but you can easily modify that in your bindings.json file:

{
    "Ctrl-L": "command:lower"
}

You can also execute a command which will do the same thing as the binding:

> lower

If you have a selection, the plugin will change all of the selection.

The following commands currently exists:

  • camel: camelCase
  • pascal: PascalCase
  • kebab: kebab-case
  • snake: snake_case
  • screamingSnake: SCREAMING_SNAKE_CASE
  • upper: UPPERCASE
  • lower: lowercase
  • reverse: Reverses
  • base64enc: Base64 encodes
  • base64dec: Base64 decodes
  • rot13: ROT-13
  • incNum: Increase number by one
  • decNum: Decrease number by one
  • capital: Capitalize First Letter
  • title: Title Case
  • brace: Adds brackets around selection
    • curly: Curly brackets ({ })
    • square: Square brackets ([ ])
    • angle: Angle brackets (< >)
    • dquote: Double quotes (" ")
    • squote: Single quotes (' ')
    • backtick: Backticks (` `)

Issues

Please use the issue tracker if you have any issues or feature requests!

Demo

Demo