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
Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
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 1 0 1 1 1 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