|
3 | 3 | enable = true; |
4 | 4 | package = pkgs.customDarwin.warpd; |
5 | 5 | settings = { |
6 | | - # Movement keys (Colemak home row) |
7 | | - left = "h"; |
8 | | - down = ","; |
9 | | - up = "e"; |
10 | | - right = "."; |
| 6 | + ## Normal mode movement |
| 7 | + left = "n"; |
| 8 | + down = "e"; |
| 9 | + up = "u"; |
| 10 | + right = "i"; |
11 | 11 |
|
12 | | - # Speed control |
| 12 | + ## Speed |
13 | 13 | speed = 220; |
14 | | - acceleration = 1; |
| 14 | + max_speed = 1600; |
| 15 | + acceleration = 700; |
| 16 | + decelerator_speed = 50; |
15 | 17 |
|
16 | | - # Cursor appearance |
| 18 | + ## Scrolling (capitalised counterparts of the movement keys) |
| 19 | + scroll_down = "M"; |
| 20 | + scroll_up = "J"; |
| 21 | + scroll_left = "T"; |
| 22 | + scroll_right = "R"; |
| 23 | + |
| 24 | + ## Cursor appearance |
17 | 25 | cursor_color = "#ff0000"; |
| 26 | + cursor_size = 7; |
| 27 | + indicator = "topright"; |
| 28 | + indicator_color = "#ff0000"; |
| 29 | + indicator_size = 12; |
| 30 | + |
| 31 | + ## Mouse buttons (t=left, comma=middle, g=right) |
| 32 | + buttons = "t , g"; |
18 | 33 |
|
19 | | - # Mouse buttons |
20 | | - buttons = "l m y"; |
| 34 | + ## In-normal-mode actions (defaults kept unless they conflict) |
| 35 | + # drag = "v"; # toggle drag/visual mode |
| 36 | + # copy = "y"; |
| 37 | + # copy_and_exit = "c"; |
| 38 | + # paste = "p"; |
| 39 | + # accelerator = "a"; |
| 40 | + # decelerator = "d"; |
| 41 | + hint = "x"; # activate hint (was f in old config; x is unambiguous) |
| 42 | + hint2 = "X"; # two-pass hint |
| 43 | + smart_hint = "f"; # smart/element-based hints |
| 44 | + grid = "g"; |
| 45 | + screen = "s"; |
| 46 | + history = ";"; |
21 | 47 |
|
22 | | - # Grid configuration (2x2 grid) |
| 48 | + ## Grid mode (2×2) |
23 | 49 | grid_nr = 2; |
24 | 50 | grid_nc = 2; |
25 | | - # (reading order: top-left, top-right, bottom-left, bottom-right) |
26 | | - grid_keys = "n e h ,"; |
27 | 51 |
|
28 | | - # Hint configuration |
| 52 | + # Grid overlay navigation mirrors normal mode movement (grid mode is separate) |
| 53 | + grid_left = "n"; |
| 54 | + grid_down = "e"; |
| 55 | + grid_up = "u"; |
| 56 | + grid_right = "i"; |
| 57 | + grid_cut_left = "N"; |
| 58 | + grid_cut_down = "E"; |
| 59 | + grid_cut_up = "U"; |
| 60 | + grid_cut_right = "I"; |
| 61 | + |
| 62 | + # Quadrant selection: physical QWAS cluster (Colemak: q/w/a/r) — avoids n/e/u/i |
| 63 | + # reading order: top-left, top-right, bottom-left, bottom-right |
| 64 | + grid_keys = "q w a r"; |
| 65 | + |
| 66 | + ## Hint configuration (Colemak home-row biased character set) |
29 | 67 | hint_chars = "arstneidhopgwyf"; |
30 | | - hint_bgcolor = "#000000"; # Black background |
31 | | - hint_fgcolor = "#00ff00"; # Bright green foreground |
| 68 | + hint_bgcolor = "#000000"; |
| 69 | + hint_fgcolor = "#00ff00"; |
| 70 | + hint_size = 20; |
32 | 71 |
|
33 | | - # Two-shot hint mode |
34 | | - # Must have at least hint2_grid_size^2 = 9 characters |
| 72 | + ## Two-shot hint mode (≥ hint2_grid_size² = 9 chars required) |
35 | 73 | hint2_chars = "arstneiodhpgwyfbvcxzqjklm"; |
36 | 74 | hint2_gap_size = 5; |
| 75 | + hint2_grid_size = 3; |
37 | 76 |
|
38 | | - # Mode switching from within normal mode |
39 | | - hint = "f"; |
40 | | - hint2 = "F"; |
| 77 | + ## Screen selection (Colemak home row) |
| 78 | + screen_chars = "arstdhneio"; |
41 | 79 |
|
42 | | - # Scrolling in normal mode |
43 | | - scroll_down = "t"; |
44 | | - scroll_up = "p"; |
| 80 | + ## Smart hint mode |
| 81 | + smart_hint_mode = "alphabet"; |
45 | 82 | }; |
46 | 83 | }; |
47 | 84 | } |
0 commit comments