aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org')
-rw-r--r--.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org b/.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org
new file mode 100644
index 0000000..33d13ad
--- /dev/null
+++ b/.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org
@@ -0,0 +1,15 @@
+* yaml-mode
+
+ Evil setup for [[https://github.com/yoshiki/yaml-mode][yaml-mode]].
+
+ No keys are rebound. =evil-shift-width= is set buffer-locally to
+ =yaml-indent-offset= so that =>>= / =<<= produce indentation that
+ matches yaml-mode's own electric keys.
+
+** New commands
+
+ | Command | Purpose |
+ |--------------------------------------------------+-------------------------------------------------|
+ | =evil-collection-yaml-mode-set-evil-shift-width= | Set =evil-shift-width= to =yaml-indent-offset=. |
+
+ Installed on =yaml-mode-hook=.