yasi-indenter
Sublime Text plugin for correct s-expression indentation using yasi
Details
Installs
- Total 499
- Win 281
- Mac 137
- Linux 81
Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-yasi - yasi indenter meets Sublime Text
Enables correct lisp code indentation from within Sublime Text 3.
Installation
The repo way:
- Hit
Ctrl+Shift+P
- Launch
Add Repository
- Paste
https://github.com/nkmathew/sublime-yasi
Ctrl+Shift+P
again- Click
Install Package
, lookup yasi and install it
- Hit
Standard way(via Package Control):
- Hit
Ctrl+Shift+P
>Install Package
search for yasi and install it
- Hit
Manually:
- Clone repo or download master.zip
- Run
make VER=2
to install for Sublime 2 ormake VER=3
for Sublime 3
Features
- Indenting selections:
Hit Ctrl+r
to indent the selection or alternatively navigate to the Selection
menu then Format then Indent S-expression.
- Indenting the current line:
Hitting Ctrl-r
without an existing selection will result in the current line
being reindented.
- Auto-indentation:
Auto-indents the next line when the enter key is pressed
- Indenting file on save(opt-out feature, see preferences)
Preferences
To turn off file auto-indentation on save go to the user settings in,
and change the value to false
like so:
{
"indent_sexp_on_save": false
}