NicolaiSoeborg / manipulator-plugin

A plugin for manipulating text (UPPER, lower, base64, etc) in the editor "Micro"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A plugin for manipulating text (UPPER, lower, base64, etc) in the editor "Micro"

License:MIT License


Languages

Language:Lua 100.0%