blob: e018d6f33312ee5f0922c65d1a65c18327b93808 (
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
48
49
50
51
52
53
|
Requirements of an editor for Kui Yo to use
===========================================
FORMAT
------
Let's say I want to require the editor to have the key-binding that
runs command F by pressing key K. Then just write as follows.
- key: "K" => "F"
Now one might not know the name of the command in need. So one can
"define" a command by a description, as follows.
- def: "F" <= DESCRIPTION
EXAMPLE
-------
An example is easier to understand. Suppose I want that pressing "C-x
m", which means "control-x m", has the effect of copying the current
line and pasting it below the current line. Then I can write:
- def: "copy line below" <= copying the current line and pasting it
below the current line
- key: "C-x m" => "copy line below"
REQUIREMENTS
------------
Now let's start the journey.
Test
- def: "copy line below" <= copying the current line and pasting it
below the current line
- def: "yank" <= The terminology for "paste" in Emacs
- def: "undo-only" <= Only undo changes made by the user, not changes
introduced by previous undo'es
- key: "C-x" => "kill-region"
- key: "C-c" => "kill-ring-save"
- key: "C-v" => "yank"
- key: "C-z" => "undo-only"
|