blob: 30121f6943f360f3ffae0db661750144c58ec1d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
* minibuffer
Evil bindings for the minibuffer and =evil-ex= prompt.
The minibuffer has no major mode, so the package hooks =minibuffer-setup-hook=
to enter insert state on open.
** Affected keymaps
- =minibuffer-local-map=
- =minibuffer-local-ns-map=
- =minibuffer-local-completion-map=
- =minibuffer-local-must-match-map=
- =minibuffer-local-isearch-map=
- =evil-ex-search-keymap=
- =evil-ex-completion-map=
** Key bindings
Normal-state bindings added to every map above.
| Command | Key |
|----------------------------------------+------------|
| =evil-collection-change-in-minibuffer= | =c= |
| =abort-recursive-edit= | =<escape>= |
| =exit-minibuffer= | =RET= |
Extra bindings on =evil-ex-completion-map= for history navigation:
| Command | State | Key |
|-------------------------------------+--------+------------|
| =previous-complete-history-element= | insert | =C-p= |
| =next-complete-history-element= | insert | =C-n= |
| =previous-history-element= | normal | =C-p= |
| =next-history-element= | normal | =C-n= |
| =abort-recursive-edit= | normal | =<escape>= |
** New commands
| Command | Key | |
|----------------------------------------+-----+--------------------------------------------------------------------------------------|
| =evil-collection-change-in-minibuffer= | =c= | =evil-change= variant that avoids inserting a stray newline when the buffer had none |
** Notes
- =evil-echo-state= is locally disabled so the minibuffer prompt is not
overwritten by the state indicator.
|