9dd12ad7dc
fix: broken tests
2025-12-02 12:40:08 +01:00
e473ae90f7
refactor: store original config section name in keybind binding sets
2025-12-02 11:44:52 +01:00
8dc6f9823d
fix: don't log keybind hints message for modifier key events
2025-12-01 22:30:24 +01:00
49acb2c3d5
feat: log keyhints message on unbound key events
2025-12-01 22:23:32 +01:00
a296471161
refactor: filter hidden commands
2025-12-01 21:49:23 +01:00
632cf8cfb3
refactor: add mode.current_bindings function
2025-12-01 21:37:40 +01:00
c9f43844cb
feat: filter kp_ key bindings from hints window
...
These are almost always duplicates.
2025-12-01 20:19:06 +01:00
0666893151
refactor: make keybind.Binding public
2025-12-01 15:54:19 +01:00
a6e1087773
feat: add support in keybind module for looking up key sequence prefix matches
...
This is the initial part of some sort of which-key like function.
2025-12-01 15:43:55 +01:00
9984d5e2b5
feat: add switch_input_mode command to change keybind mode in a mini mode
2025-11-18 16:43:42 +01:00
4cfe6adadd
refactor: change default_cursor config option to an enum
2025-11-18 15:36:19 +01:00
8b50c7a3af
fix: fully deinit keybind.Mode to avoid race when switching modes
2025-11-05 16:39:35 +01:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting
2025-10-08 14:18:03 +02:00
65414d2d73
fix: update keybind test case for zig-0.15
2025-09-26 21:05:50 +02:00
4125db2617
fix: Writer.Allocation.initOwnedSlice does not append
2025-09-26 12:51:52 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build
2025-09-25 22:01:29 +02:00
e6b39c274c
refactor: lots and lots of writergate changes
2025-09-24 22:30:18 +02:00
efdad96054
refactor: improve create pattern to avoid leaks
2025-07-19 00:03:30 +02:00
bc2fbec083
refactor: clean-up std.StaticStringMap naming
2025-07-15 13:17:04 +02:00
c5655468e3
fix: make keybind module respect command.suppressed_errors list
...
Also, make suppressed_errors a static string map for a little extra
performance.
2025-07-15 13:16:56 +02:00
6946cb4010
feat: re-add support for integer command arguments
...
closes #182
2025-04-08 18:02:39 +02:00
6743c99c12
feat: add per input mode init_command and deinit_command support
...
closes #92
2025-04-07 21:07:36 +02:00
a1b2737c5d
feat: use explicit error handling for all startup errors
2025-03-25 17:24:34 +01:00
c7e41afeed
feat(keybind): add keybind mode config setting to disable default bindings
...
closes #193
2025-02-27 13:43:59 +01:00
65a3e50b43
feat(keybind): add inherits keybind config option for multiple inheritance
...
closes #189
2025-02-24 21:44:56 +01:00
ec3bba2aff
feat: let mini modes inherit gutter line number modes
2025-02-20 21:21:55 +01:00
8a89c888eb
fix: keybind testcases
2025-01-22 22:31:55 +01:00
4f5fa4a3ba
feat(keybind): move selection mode into keybind mode configuration
2025-01-19 19:21:44 +01:00
b73975328b
fix: normalized vaxis windows console input
2025-01-07 16:04:07 +01:00
0c7f19b5dd
feat: support matching of shifted keybindings
...
This allows us to bind things like alt+F and ctrl+?. Binding
with and explicit shift modifier is still allowed, such as alt+shift+f.
2025-01-07 14:53:34 +01:00
dedbb25515
feat: add inheritance between input modes in an input namespace
2025-01-06 20:25:09 +01:00
750bed8a9c
fix: matching of alt+shift+ keybindings on windows
2024-12-24 12:31:47 +01:00
afca8a86bc
feat: add configuration option default_cursor
2024-12-20 21:44:35 +01:00
df1646d3b1
fix: unittest bitrot
2024-12-19 18:47:20 +01:00
57942ac4f0
fix: use associated text if available instead input codepoint
...
closes : #78
2024-12-16 22:11:23 +01:00
4ec66be2d4
feat: add short key event formatters
2024-12-12 17:00:39 +01:00
11301270fb
fix: do not treat modified keys as input on sequence match abort
2024-12-12 16:59:24 +01:00
9efc72da62
fix: don't process modifier key events in key event sequences
2024-12-12 16:58:45 +01:00
0abb21a400
fix: add down level ':' keybindings to vim and helix modes
...
This is for terminals that don't send modifiers at all.
2024-12-12 16:57:16 +01:00
9856303ef6
fix: keybind unittests
2024-12-09 16:03:31 +01:00
bbd42fec16
fix: don't revert to default mode on keybind namespace change
2024-12-05 19:49:02 +01:00
3b8982ac26
feat: move all keybind mode related options to keybind config
2024-12-03 23:04:10 +01:00
ed2be3767a
fix: don't add fallback keybindings if they are overridden
2024-12-03 22:01:35 +01:00
Robert Burnett
c909a2a50a
feat: add more vim keybinds
...
This is a combination of 6 commits.
- added a new command
- change dd to use cut
- add prototypes for A I o O commands
- fixed keybind test compilation bug
- add keybinds for the new enter_mode commands
- added prototype for copy line
2024-12-02 21:10:00 +01:00
b693b111b2
feat: add support for command sequence bindings
2024-12-02 19:38:46 +01:00
71a821aad6
refactor: rename keybind inherit setting
2024-12-01 23:28:11 +01:00
264c6ca54b
feat: dynamically determine available keybind namespaces
2024-12-01 23:24:13 +01:00
0de7086e82
refactor: remove duplicate keybind command loading code
2024-12-01 21:28:05 +01:00
61198412f8
feat: call init_command/deinit_command on keybind namespace change
2024-12-01 21:27:08 +01:00
22d255994e
refactor: remove debug logs
2024-12-01 00:15:47 +01:00