src/clfswm-second-mode.lisp (sm-leave-function): Do not use *second-mode-program...
[clfswm.git] / doc / keys.txt
blobfe5cfbcc905f3a54c9d7d2ab8aba133bc99ca095
1     * CLFSWM Keys *
2       -----------
4 Note: Mod-1 is the Meta or Alt key
6 Main mode keys:
7 --------------
9   Mod-1                F1              Open the help and info window
10   Mod-1 Control Shift  Home            Exit clfswm
11   Mod-1                Right           Select the next brother
12   Mod-1                Left            Select the previous brother
13   Mod-1                Down            Select the previous level in frame
14   Mod-1                Up              Select the next level in frame
15   Mod-1                Tab             Select the next child
16   Mod-1 Shift          Tab             Select the previous child
17   Mod-1 Control        Tab             Select the next subchild
18   Shift                Tab             Store the current child and switch to the previous one
19   Mod-1                Return          Enter in the selected frame - ie make it the root frame
20   Mod-1 Shift          Return          Leave the selected frame - ie make its parent the root frame
21   Mod-5                Return          Maximize/Unmaximize the current frame in its parent frame
22   Mod-1                Page_up         Select the previous child in the current frame
23   Mod-1                Page_down       Select the next child in the current frame
24   Mod-1 Control        Page_up         Lower the child in the current frame
25   Mod-1 Control        Page_down       Raise the child in the current frame
26   Mod-1                Home            Switch to the root frame
27   Mod-1 Shift          Home            Switch and select the root frame
28   Mod-1                F10             Switch between two layouts
29   Control Shift        F10             Present all windows in all frames (An expose like)
30                        F10             Present all windows in the current child (An expose like)
31   Control              F10             Present all windows in the current frame (An expose like)
32   Control              L2              Hide/Unhide a terminal
33   Shift                L2              Show all frames info windows until a key is release
34   Mod-1 Shift          L2              Show all frames info windows
35   Mod-1                B               Move the pointer to the lower right corner of the screen
36   Control              Escape          Close or kill the current window (ask before doing anything)
37   Mod-1                T               Switch to editing mode (second mode)
38   Control              Less            Switch to editing mode (second mode)
39   Mod-1                1               Bind or jump to a slot (a frame or a window)
40   Mod-1                2               Bind or jump to a slot (a frame or a window)
41   Mod-1                3               Bind or jump to a slot (a frame or a window)
42   Mod-1                4               Bind or jump to a slot (a frame or a window)
43   Mod-1                5               Bind or jump to a slot (a frame or a window)
44   Mod-1                6               Bind or jump to a slot (a frame or a window)
45   Mod-1                7               Bind or jump to a slot (a frame or a window)
46   Mod-1                8               Bind or jump to a slot (a frame or a window)
47   Mod-1                9               Bind or jump to a slot (a frame or a window)
48   Mod-1                0               Bind or jump to a slot (a frame or a window)
51 Mouse buttons actions in main mode:
52 ----------------------------------
54                        1               Move and focus the current frame or focus the current window parent.
55 Or do actions on corners
56                        2               Do actions on corners
57                        3               Resize and focus the current frame or focus the current window parent.
58 Or do actions on corners
59   Mod-1                1               Move and focus the current child - Create a new frame on the root window
60   Mod-1                3               Resize and focus the current child - Create a new frame on the root window
61   Mod-1 Control        1               Move the child under the mouse cursor to another frame
62                        4               Select the next level in frame
63                        5               Select the previous level in frame
64   Mod-1                4               Enter in the selected frame - ie make it the root frame
65   Mod-1                5               Leave the selected frame - ie make its parent the root frame
68 Second mode keys:
69 ----------------
71   Mod-1                F1              Open the help and info window
72                        M               Open the main menu
73                        Less            Open the main menu
74   Control              Less            Open the main menu
75                        F               Open the frame menu
76                        W               Open the window menu
77                        N               Open the action by name menu
78                        U               Open the action by number menu
79                        P               Open the frame pack menu
80                        L               Open the frame fill menu
81                        R               Open the frame resize menu
82                        I               Identify a key
83                        Colon           Eval a lisp form from the query input
84                        Exclam          Run a program from the query input
85                        Return          Leave second mode
86                        Escape          Leave second mode
87   Control              G               Leave second mode
88                        T               Tile the current frame
89   Mod-1 Control Shift  Home            Exit clfswm
90   Mod-1                Right           Select the next brother
91   Mod-1                Left            Select the previous brother
92   Mod-1                Down            Select the previous level in frame
93   Mod-1                Up              Select the next level in frame
94                        Right           Speed move mouse to right
95                        Left            Speed move mouse to left
96                        Down            Speed move mouse to down
97                        Up              Speed move mouse to up
98   Control              Left            Undo last speed mouse move
99   Control              Up              Revert to the first speed move mouse
100   Control              Down            Reset speed mouse coordinates
101   Mod-1                Tab             Select the next child
102   Mod-1 Shift          Tab             Select the previous child
103   Mod-1 Control        Tab             Select the next subchild
104   Shift                Tab             Store the current child and switch to the previous one
105   Mod-1                Return          Enter in the selected frame - ie make it the root frame
106   Mod-1 Shift          Return          Leave the selected frame - ie make its parent the root frame
107   Mod-5                Return          Maximize/Unmaximize the current frame in its parent frame
108   Mod-1                Page_up         Lower the child in the current frame
109   Mod-1                Page_down       Raise the child in the current frame
110   Mod-1                Home            Switch to the root frame
111   Mod-1 Shift          Home            Switch and select the root frame
112                        Menu            Show/Hide the root frame
113   Mod-1                B               Move the pointer to the lower right corner of the screen
114                        O               Open the next window in a new frame in the parent frame
115   Control              O               Open the next window in a new frame in the root frame
116                        A               Add a default frame in the current frame
117   Control              Escape          Close or kill the current window (ask before doing anything)
118   Control              X               Cut the current child to the selection
119   Mod-1 Control        X               Clear the current selection
120   Control              C               Copy the current child to the selection
121   Control              V               Paste the selection in the current frame
122   Control Shift        V               Paste the selection in the current frame - Do not clear the selection after paste
123   Control              Delete          Remove the current child from its parent frame
124                        Delete          Delete the current child and its children in all frames
125                        C               start an xterm
126                        E               start emacs
127   Control              E               start an emacs for another user
128                        H               start an xclock
129   Mod-1                F10             Switch between two layouts
130   Control Shift        F10             Present all windows in all frames (An expose like)
131                        F10             Present all windows in the current child (An expose like)
132   Control              F10             Present all windows in the current frame (An expose like)
133   Shift                L2              Show all frames info windows until a key is release
134   Mod-1 Shift          L2              Show all frames info windows
135   Mod-1                1               Bind or jump to a slot (a frame or a window)
136   Mod-1                2               Bind or jump to a slot (a frame or a window)
137   Mod-1                3               Bind or jump to a slot (a frame or a window)
138   Mod-1                4               Bind or jump to a slot (a frame or a window)
139   Mod-1                5               Bind or jump to a slot (a frame or a window)
140   Mod-1                6               Bind or jump to a slot (a frame or a window)
141   Mod-1                7               Bind or jump to a slot (a frame or a window)
142   Mod-1                8               Bind or jump to a slot (a frame or a window)
143   Mod-1                9               Bind or jump to a slot (a frame or a window)
144   Mod-1                0               Bind or jump to a slot (a frame or a window)
147 Mouse buttons actions in second mode:
148 ------------------------------------
150                        1               Move and focus the current child - Create a new frame on the root window.
151 Or do corners actions
152                        2               Do actions on corners
153                        3               Resize and focus the current child - Create a new frame on the root window.
154 Or do corners actions
155   Mod-1                1               Move and focus the current child - Create a new frame on the root window
156   Mod-1                3               Resize and focus the current child - Create a new frame on the root window
157   Mod-1 Control        1               Move the child under the mouse cursor to another frame
158                        4               Select the next level in frame
159                        5               Select the previous level in frame
160   Mod-1                4               Enter in the selected frame - ie make it the root frame
161   Mod-1                5               Leave the selected frame - ie make its parent the root frame
164 Info mode keys:
165 --------------
167                        Q               Leave the info mode
168                        Return          Leave the info mode and valid the selected item
169                        Space           Leave the info mode and valid the selected item
170                        Escape          Leave the info mode
171   Control              G               Leave the info mode
172                        Twosuperior     Move the pointer to the lower right corner of the screen
173                        Down            Move one line down
174                        Up              Move one line up
175                        Left            Move one char left
176                        Right           Move one char right
177                        Home            Move to first line
178                        End             Move to last line
179                        Page_down       Move ten lines down
180                        Page_up         Move ten lines up
183 Mouse buttons actions in info mode:
184 ----------------------------------
186                        1               NIL
187                        2               Leave the info mode
188                        3               Leave the info mode
189                        4               Move one line up
190                        5               Move one line down
191                        Motion          NIL
194 Circulate mode keys:
195 -------------------
197                        Escape          Leave the circulate mode
198   Control              G               Leave the circulate mode
199   Mod-1                Escape          Leave the circulate mode
200   Mod-1 Control        G               Leave the circulate mode
201   Mod-1                Tab             Select the next child
202   Mod-1 Control        Tab             Select the next subchild
203   Mod-1 Shift          Tab             Select the previous child
204   Mod-1 Shift          Iso_left_tab    Select the previous child
205   Mod-1                Right           Select the next brother
206   Mod-1                Left            Select the previous borther
209 Expose windows mode keys:
210 ------------------------
212                        A               Select child 'a' (0)
213                        B               Select child 'b' (1)
214                        C               Select child 'c' (2)
215                        D               Select child 'd' (3)
216                        E               Select child 'e' (4)
217                        F               Select child 'f' (5)
218                        G               Select child 'g' (6)
219                        H               Select child 'h' (7)
220                        I               Select child 'i' (8)
221                        J               Select child 'j' (9)
222                        K               Select child 'k' (10)
223                        L               Select child 'l' (11)
224                        M               Select child 'm' (12)
225                        N               Select child 'n' (13)
226                        O               Select child 'o' (14)
227                        P               Select child 'p' (15)
228                        Q               Select child 'q' (16)
229                        R               Select child 'r' (17)
230                        S               Select child 's' (18)
231                        T               Select child 't' (19)
232                        U               Select child 'u' (20)
233                        V               Select child 'v' (21)
234                        W               Select child 'w' (22)
235                        X               Select child 'x' (23)
236                        Y               Select child 'y' (24)
237                        Z               Select child 'z' (25)
238                        Escape          Leave the expose mode
239   Control              G               Leave the expose mode
240   Mod-1                Escape          Leave the expose mode
241   Mod-1 Control        G               Leave the expose mode
242                        Return          Valid the expose mode
243                        Space           Valid the expose mode
244                        Tab             Valid the expose mode
245                        Right           Speed move mouse to right
246                        Left            Speed move mouse to left
247                        Down            Speed move mouse to down
248                        Up              Speed move mouse to up
249   Control              Left            Undo last speed mouse move
250   Control              Up              Revert to the first speed move mouse
251   Control              Down            Reset speed mouse coordinates
254 Mouse buttons actions in expose windows mode:
255 --------------------------------------------
257                        1               Valid the expose mode
258                        2               Leave the expose mode
259                        3               Leave the expose mode
263 This documentation was produced with the CLFSWM auto-doc functions.
264 To reproduce it, use the produce-doc-in-file or the produce-all-docs
265 function from the Lisp REPL.
267 Something like this:
268 LISP> (in-package :clfswm)
269 CLFSWM> (produce-doc-in-file "my-keys.txt")
271 CLFSWM> (produce-all-docs)