78b039be58
fix: integer overflow crashes with large screen sizes > u16
2024-12-03 19:55:33 +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
1e3ea22fb7
fix: keep existing mode if new mode is not found in enter_mode
2024-12-02 19:39:37 +01:00
98062f669d
Merge branch 'master' into keybind
2024-12-02 09:37:35 +01:00
b1908428a3
fix: display only the first line of messages in minilog
2024-12-02 09:37:09 +01:00
264c6ca54b
feat: dynamically determine available keybind namespaces
2024-12-01 23:24:13 +01:00
85b8ff8bea
feat: add back vim/helix mode specific commands
2024-12-01 22:06:09 +01:00
94fb5119ef
feat: make mode/namespace loading more dynamic and add fallback handling
2024-12-01 00:10:59 +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
26bf0de381
fix: mini_mode_paste again
2024-11-22 15:39:14 +01:00
a9e5c5b262
fix: editor paste
2024-11-22 13:43:15 +01:00
279789d4fa
fix: paste in mini and overlay modes
2024-11-22 12:39:22 +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
6372beb762
refactor: rename command.get_id and add command.get_name
2024-11-21 17:55:03 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters
2024-11-21 17:34:11 +01:00
e861bcecbe
feat: support command arguments in run_async
2024-11-20 20:13:05 +01:00
22edc62874
fix: error code in move_to_char
2024-11-20 20:11:11 +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
b7985baffb
fix: add missing palette_menu_activate_quick command in open_recent
2024-11-18 23:00:58 +01:00
932409d6b7
feat: add support for key release dynamic bindings
2024-11-18 21:33:12 +01:00
572f74d8ba
fix: alpha rendering in filelist_view
2024-11-18 21:21:30 +01:00
44c643815a
fix: move_to_char with dynamic bindings
2024-11-18 00:03:34 +01:00
27a54a6091
fix: palette insert handlers
2024-11-17 23:54:31 +01:00
2f0da48c6c
fix: simplify goto mode bindings
2024-11-17 23:53:37 +01:00
e9f170372d
fix: dispatch flush events to both input and event handlers
2024-11-17 23:31:46 +01:00
e172590ba8
feat: implement scroll_view_center_cycle to replace cmd_cycle3
2024-11-17 22:43:14 +01:00
ed843a9baf
fix: move system_paste command to mainview so it can be used when on editor is open
2024-11-17 22:01:10 +01:00
e69960c6d4
fix: CommandNotFound: exit_overlay_mode/exit_mini_mode
2024-11-17 21:31:28 +01:00
351412231f
refactor: run zig fmt
2024-11-17 20:47:25 +01:00
524e5be47c
feat: add flow native keybinding parser
2024-11-16 03:06:40 +01:00
e6d2dca5c1
fix: be more careful with input_mode lifetimes
2024-11-15 23:59:07 +01:00
376d14353a
fix: improve delayed initialization of input modes
...
Input modes are not loaded immediately on startup. There is a very
short delay. During this time all input is just dropped. This is to
make sure that the input buffer is flushed of any rubbish left over
from the previous application.
This commit fixes delayed initialization in cases where an input mode
is switched immediately on startup. For example when the home screen
loads.
2024-11-15 22:26:15 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types
2024-11-15 21:16:31 +01:00
ae3d21ad08
refactor: use the same create interface for all modes
2024-11-13 19:04:35 +01:00
7fff8fc529
refactor: move dynamic keybindings to keybind module
2024-11-13 18:22:35 +01:00
Robert Burnett
d33bb955f9
feat: Data driven keybindings
2024-11-13 18:22:35 +01:00
ced130b4f4
refactor: move helix mode keybindings to keybind module
2024-11-12 22:35:38 +01:00
d75e3dd9e3
fix: mode name in home mode
2024-11-12 22:20:58 +01:00
cf50f77abf
refactor: move vim mode keybindings to keybind module
2024-11-12 22:20:02 +01:00
4be4fe76e9
refactor: move flow mode keybindings to keybind module
2024-11-12 21:46:54 +01:00
07a412c2b2
refactor: move home keybindings to keybind module
2024-11-12 21:37:31 +01:00
bf6e4f49b8
feat: set terminal cursor color to match theme
2024-11-07 10:54:43 +01:00
4360390b89
fix: don't skip syntax highlighting the first symbol in a file
2024-11-06 16:38:58 +01:00
9375ffabc0
fix: improve fallbacks to closer match vscode themes
2024-11-05 21:03:17 +01:00
78f6756494
fix: render syntax using only the first match at a point
2024-11-05 21:00:29 +01:00
486c6ba95e
fix: some minor alpha rendering issues
2024-11-05 10:46:06 +01:00