Jonathan Marler
d90d82a4b7
win32 gui: remove bespoke/incorrect key translation
...
I played around with the API a bit and I tried out the other approach
where instead of trying to implement our own keyboard translation, instead
I just clear the "control key" before calling ToUnicode. This fixes any
weird translation the OS was doing.
With this change, we no longer need to skip calling ToUnicode if the
control or alt keys are down, so keys will always work the same way whether
or not these modifiers are down.
2025-01-07 14:53:34 +01:00
388943e33c
feat(emacs): add repeat keybinding to emacs overlay/palette mode for quick switching
2025-01-06 22:09:57 +01:00
caffb70d9f
fix: syntax error in flow keybindings
2025-01-06 21:37:38 +01:00
5b168f2c33
feat: add find and find_in_files bindings to flow select mode
2025-01-06 21:00:37 +01:00
Jonathan Marler
d64d5f4c7e
emacs add selection mode/keybind
2025-01-06 20:48:34 +01:00
Jonathan Marler
064522959b
more emacs bindings
2025-01-06 20:28:24 +01:00
95d07ab1a5
feat: add select mode to flow input namespace
2025-01-06 20:25:57 +01:00
dedbb25515
feat: add inheritance between input modes in an input namespace
2025-01-06 20:25:09 +01:00
Jonathan Marler
22ddaef78f
emacs: add some more emacs keybinds
2025-01-06 07:43:15 +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
ba65fece7e
feat: add flow mode keybind for add_split
2024-12-11 21:30:20 +01:00
9fba9eba3c
feat: add palette for changing the current file type
2024-12-10 20:10:36 +01:00
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