aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/lua-mode/README.org
blob: 922ca73f8ea9c5e382c83d7a784c2811352de674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
* lua-mode

  Evil bindings for [[https://github.com/immerrr/lua-mode][lua-mode]].

** Key bindings

   | Command                    | Original  | Evil |
   |----------------------------+-----------+------|
   | =lua-search-documentation= | =C-c C-f= | =K=  |
   | =run-lua=                  |           | =gz= |

   Also installs a hook that sets =evil-shift-width= to =lua-indent-level=
   in =lua-mode= buffers.

** New commands

   - =evil-collection-lua-mode-set-evil-shift-width= — sync
     =evil-shift-width= with =lua-indent-level= (added to =lua-mode-hook=).