Prettify YAML Node plugin for Sublime Text 3 (Based on Pretty YAML)
Install this sublime text package via Package Control
You have to install node on your machine and put the path in the plugin's preferences.
-
Linux: ctrl+alt+y
-
Windows: ctrl+alt+y
-
OS X: cmd+ctrl+y
If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file.
This plugin uses js-yaml as node module to process YAML files. You can specify the options for safeDump in the plugin's preferences.