Commit graph

797 commits

Author SHA1 Message Date
b6fdc3b7e8 Parse and show space key as "space" 2023-04-29 15:04:37 +02:00
03c7fb567c Auto-derive Default for KeyGroups 2023-04-29 01:50:33 +02:00
f3efff68f5 Allow closing log with abort key 2023-04-29 01:29:44 +02:00
98cb1f2cbc Fix hidden editor sometimes crashing 2023-04-29 01:25:20 +02:00
c04f6a8cb4 Scroll key binding list with cursor keys 2023-04-29 01:17:45 +02:00
14e17730dc Update changelog 2023-04-29 01:17:45 +02:00
591807dd55 Fix handling of shift for KeyCode::Char 2023-04-29 01:17:45 +02:00
9bc6931fae Migrate input handling to new bindings 2023-04-29 01:17:45 +02:00
202969c7a9 Add and update key bindings 2023-04-29 01:17:45 +02:00
c0a01b7ad4 Move cursor centering bind to scroll group 2023-04-29 01:17:45 +02:00
e5960b8eda Include more things in InputEvent 2023-04-29 01:17:45 +02:00
6b05a2a06d Fix modifiers being capitalized 2023-04-29 01:17:45 +02:00
593443f10e Fix F1 menu panicking when opened 2023-04-29 01:17:45 +02:00
1ce31b6677 Always show all key bindings in F1 menu 2023-04-29 01:17:45 +02:00
51b1953207 Fix "any" matching no modifiers 2023-04-29 01:17:45 +02:00
ff33454b9a Document key binding format 2023-04-29 01:17:45 +02:00
36c5831b9b Simplify InputEvent
Now that I've decided the F1 menu should always show all key bindings,
there is no need for the InputEvent to be so complex.
2023-04-27 21:46:33 +02:00
64a7e7f518 Simplify KeyGroup
The trait will only be used for documenting the key bindings in the F1
menu from now on. The InputEvent will be directly match-eable against
KeyBinding-s, which should suffice for input event handling.
2023-04-27 21:37:48 +02:00
6ce2afbc9f Rename Input to InputEvent and add paste events 2023-04-27 21:10:34 +02:00
fdc46aa3b8 Rename Group to KeyGroup 2023-04-27 20:56:41 +02:00
6c99f7a53a Rename Group::Action to Event 2023-04-27 20:39:33 +02:00
15177a529a Clean up macro code a bit 2023-04-27 20:36:00 +02:00
6f85995379 Derive Document for simple enums 2023-04-27 20:34:46 +02:00
458025b8bf Use serde's default annotation for Document 2023-04-27 20:11:16 +02:00
d29441bf02 Move todo to proper location 2023-04-27 20:07:25 +02:00
9f24cb2de1 Fix function key parsing 2023-04-27 18:30:56 +02:00
c53e3c262e Include key bindings in config 2023-04-27 18:30:42 +02:00
e1c3a463b2 Move key binding groups to config crate 2023-04-27 15:31:49 +02:00
5a0efd69e4 Extract euph config into submodule 2023-04-27 15:27:23 +02:00
478e3e767c Add some key binding groups 2023-04-27 11:08:14 +02:00
1276a82e54 Implement Group derive proc macro 2023-04-27 11:08:07 +02:00
a1acc26027 Extract Document derive macro to submodule 2023-04-27 10:38:17 +02:00
17acdd0575 Add Group trait 2023-04-27 10:38:17 +02:00
072290511b Query key bindings against input event 2023-04-27 10:38:17 +02:00
3fbb9127a6 Model and (de-)serialize key bindings 2023-04-27 10:38:17 +02:00
abedc5f194 Create cove-input crate 2023-04-26 14:58:36 +02:00
f7f200a608 Add measure_widths config option 2023-04-24 18:21:46 +02:00
39026a217d Use auto-generated config documentation 2023-04-24 14:09:21 +02:00
cc7dd29af4 Print config documentation 2023-04-24 14:08:57 +02:00
3d91d447c7 Document config 2023-04-24 14:08:57 +02:00
f2c3011888 Implement Document derive proc macro 2023-04-24 14:02:20 +02:00
cedeeff10b Add Document trait for config doc generation 2023-04-24 14:02:20 +02:00
dfb2ef5371 Set up cove-macro proc macro crate 2023-04-24 12:03:30 +02:00
5b5370d2df Extract config into cove-config crate 2023-04-21 02:15:25 +02:00
288a5f97dd Set up workspace 2023-04-21 02:15:25 +02:00
babdd10fba Fix docstrings 2023-04-21 02:15:17 +02:00
502ebab132 Fix scroll offset estimation 2023-04-21 01:44:22 +02:00
027bf489b7 Fix key binding listing spacing 2023-04-20 20:54:43 +02:00
3fb774e93e Remove stray crash 2023-04-20 20:48:26 +02:00
318f7e2a73 Update vault 2023-04-19 23:24:35 +02:00