9856303ef6
fix: keybind unittests
2024-12-09 16:03:31 +01:00
fff1a39fe5
feat: add home screen bindings for emacs mode
2024-12-05 20:14:43 +01:00
8b24f28820
feat: add home screen bindings for helix mode
2024-12-05 20:14:23 +01:00
bbd42fec16
fix: don't revert to default mode on keybind namespace change
2024-12-05 19:49:02 +01:00
f8dff2a7bb
feat: render home screen based on current input mode
2024-12-05 19:48:17 +01:00
c827972e98
fix: add ctrl+f2 binding to home screen
2024-12-05 14:47:20 +01:00
6b77b51266
fix: type in vim.json
2024-12-03 23:11:32 +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
b9b3d21189
fix: add missing home mode f2 keybinding
2024-12-03 19:56:37 +01:00
ec75b5ca6a
fix: emacs mode
2024-12-02 21:23:21 +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
ddab6fbc52
feat: add remaining keybindings from static helix mode
2024-12-02 19:41:51 +01:00
7a91634175
refactor: remove duplicate keybinds in vim mode
2024-12-02 19:41:13 +01:00
80c1221b1c
feat: add flow mode keybindings for future commands
2024-12-02 19:40:33 +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
480487414e
feat: setup vim/helix init/deinit_command
2024-12-01 21:35:25 +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
94fb5119ef
feat: make mode/namespace loading more dynamic and add fallback handling
2024-12-01 00:10:59 +01:00
27613eab1f
refactor: add test flow mode init_/deinit_commmand config
2024-11-30 20:17:04 +01:00
fbf9325a02
refactor: rename Binding.key_events
2024-11-30 20:16:48 +01:00
641c955f32
refactor: add keybinding namespaces
2024-11-30 20:16:25 +01:00
eddc074a23
Merge branch 'master' into keybind
2024-11-25 22:01:22 +01:00
b0a1b80acb
feat: add expand/shrink_selection and select_next/prev_sibling commands
2024-11-25 21:55:31 +01:00
0f509df2d4
fix: paste command
2024-11-22 11:12:34 +01:00
73b7031693
feat: add insert_command_name command
2024-11-21 18:04:49 +01:00
Robert Burnett
ae91afe255
add more vim bindings
2024-11-21 10:04:04 +01:00
386453ee61
fix: move keybind command arguments to stack before executing
...
This avoids problems with commands that cause the current mode to be
deleted before the arguments are read such as `enter_mode`.
2024-11-20 19:45:00 +01:00
fdf0c7ada9
fix: add back async commands
2024-11-19 21:57:43 +01:00
dc914ba562
feat: load and edit key bindings in config directory
2024-11-19 18:11:22 +01:00
3af2b09891
feat: generate hints for dynamic keybindings
2024-11-19 18:08:14 +01:00
271f45e78a
fix: keybind tests
2024-11-18 23:15:01 +01:00
Robert Burnett
a74a36b4bc
feat: added some missing features to vim keybinding parser
...
closes : #65
2024-11-18 23:10:07 +01:00
00e2211904
fix: output command name on binding.execute error
2024-11-18 23:00:20 +01:00
729cc696c2
refactor: split keybinds into one file per namespace
2024-11-18 22:59:55 +01:00
45adc6c7ec
refactor: drop static keybind module
2024-11-18 22:06:09 +01:00
932409d6b7
feat: add support for key release dynamic bindings
2024-11-18 21:33:12 +01:00
a8826b5067
refactor: move KeyEvent to input module
2024-11-18 21:31:32 +01:00
5d381dcc7b
refactor: move formatters for input types to input module
2024-11-18 21:26:55 +01:00
031d57a54d
feat: always add a toggle_input_mode keybinding (f2)
...
Even if it is not configured for the mode. This allows the user to switch
to the next mode even if the mode could not be loaded/parsed properly.
2024-11-18 19:30:15 +01:00
22fdff4543
feat: cache command IDs when executing keybindings
2024-11-18 19:29:23 +01:00
6d351080a8
feat: make make "syntax": "flow" and "on_match_failure": "instert" optional in keybind config
2024-11-18 19:27:00 +01:00
93302c0325
fix: ctrl+i binding
2024-11-18 00:24:44 +01:00
44c643815a
fix: move_to_char with dynamic bindings
2024-11-18 00:03:34 +01:00
2f0da48c6c
fix: simplify goto mode bindings
2024-11-17 23:53:37 +01:00
22cc818ad6
fix: caching of keybind.insert_command IDs
2024-11-17 23:32:42 +01:00