Sublime text 2 & 3 package allows you to append any symbol at the end of a line by pressing a hotkey. Also it can jump to EOL or add new line after appending symbol.
- Ctrl+; - appends ";" at EOL
- Ctrl+Alt+; - appends ";" to EOL and jumps there
- Ctrl+shift+; - appends ";" to EOL and adds new line below and jumps there
Same as linux & windows but use Super instead of Ctrl.
There are three predefined symbols which you can use with default hotkeys above:
- "."
- ";"
- ","
You can configure any symbol what you need via "args" key in key bindings:
{ "keys": ["ctrl+#"], "command": "append_symbol", "args": {"symb": "#"} }
Where are "#" - any symbol you need.
To use callbacks define one of them at "args" key
{ "keys": ["ctrl+#"], "command": "append_symbol", "args": {"symb": "#", "callback": "*"} }
Where are "*" - one of two callbacks:
- "jumpToEOL"
- "addLine"
Download and extract it into your Sublime Text Packages folder.
MIT © INHQ.PRO