ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

yasi-indenter

by nkmathew ALL

Sublime Text plugin for correct s-expression indentation using yasi

Details

Installs

  • Total 494
  • Win 278
  • Mac 135
  • Linux 81
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10
Windows 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
Mac 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
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

Latest tag

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
  • Standard way(via Package Control):

    • Hit Ctrl+Shift+P > Install Package search for yasi and install it
  • Manually:

    • Clone repo or download master.zip
    • Run make VER=2 to install for Sublime 2 or make 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
}

Screencast