blob: 9984f7c818802c5be8b2d7fc2a1453338f94f787 (
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
|
Internals
=========
Command properties
------------------
Evil defines *command properties* to store information about commands
[#command]_, such as whether they should be repeated. A command
property is a ``:keyword`` with an associated value, e.g.
``:repeat nil``.
.. elisp:autofunction:: evil-add-command-properties
.. elisp:autofunction:: evil-set-command-properties
.. elisp:autofunction:: evil-get-command-properties
.. elisp:autofunction:: evil-get-command-property
.. elisp:autofunction:: evil-define-command
For setting repeat properties, use the following functions:
.. elisp:autofunction:: evil-declare-repeat
.. elisp:autofunction:: evil-declare-not-repeat
.. elisp:autofunction:: evil-declare-change-repeat
.. rubric:: Footnotes
.. [#command] In this context, a *command* may mean any Evil motion,
text object, operator or indeed other Emacs commands, which have
not been defined through the Evil machinery.
|