aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/yaml-mode/README.org
blob: 33d13ad2a35083d3038cb5b711199799b51f0dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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=.