aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org')
-rw-r--r--.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org b/.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org
new file mode 100644
index 0000000..d7a7975
--- /dev/null
+++ b/.config/emacs/lisp/evil-collection/modes/cmake-mode/README.org
@@ -0,0 +1,13 @@
+* cmake-mode
+
+ Evil setup for [[https://gitlab.kitware.com/cmake/cmake][cmake-mode]]. No key
+ rebindings -- only =evil-shift-width= is aligned to =cmake-tab-width=.
+
+** New commands
+
+ | Command | Purpose |
+ |---------------------------------------------------+------------------------------------------------------|
+ | =evil-collection-cmake-mode-set-evil-shift-width= | Buffer-local =evil-shift-width= = =cmake-tab-width=. |
+
+ Hooked to =cmake-mode-hook= so =>=, =<= and friends indent by the same width
+ cmake-mode uses.