a5849a7dab
refactor: eliminate generic InvalidArgument errors
...
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
038ed4da2b
refactor: simplify getting the active editor and selection
2024-12-11 20:54:53 +01:00
4b3904d5f2
feat: add find_in_files_query command
2024-12-11 20:50:05 +01:00
3b8982ac26
feat: move all keybind mode related options to keybind config
2024-12-03 23:04:10 +01:00
94fb5119ef
feat: make mode/namespace loading more dynamic and add fallback handling
2024-12-01 00:10:59 +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
150374afae
feat: add argument metadata to (most) commands that take parameters
2024-11-21 17:34:11 +01:00
22edc62874
fix: error code in move_to_char
2024-11-20 20:11:11 +01:00
3af2b09891
feat: generate hints for dynamic keybindings
2024-11-19 18:08:14 +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
524e5be47c
feat: add flow native keybinding parser
2024-11-16 03:06:40 +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
bd62dfcdc1
fix: add missing system_paste support to file_browser
2024-10-28 19:45:13 +01:00
0b6d820153
refactor: remove unused mapPress function in move_to_char
2024-10-28 19:42:43 +01:00
ac56635f7b
refactor: simplify keybind mode create
2024-10-27 19:05:03 +01:00
525287c7ac
refactor: move mode.event_handler back to input mode
2024-10-27 18:53:24 +01:00
d06ebd0dd5
fix: update mini mode state on mode init
2024-10-27 18:46:55 +01:00
46e33d9d1e
refactor: move find mini mode keybindings to keybinds module
2024-10-27 17:21:25 +01:00
9b6e01f358
refactor: move find_in_files keybindings to keybind module
2024-10-27 15:58:46 +01:00
33e36d295e
refactor: move file_browser key bindings to keybinds module
2024-10-27 11:30:52 +01:00
9724decc4a
refactor: move move_to_char mine mode keybinds
2024-10-26 21:11:55 +02:00
f67bfab5b7
refactor: move mini mode name and remove unused mode description field
2024-10-26 16:33:59 +02:00
49319d6207
refactor: move goto mini mode keybindings to keybind module
2024-10-25 22:40:58 +02:00
16c5471126
refactor: move command and EventHandler out of the tui module
2024-10-25 22:39:04 +02:00
f41fb97d02
refactor: split mini modes into input mode and a ui mode
2024-10-25 19:06:23 +02:00
b1362814db
fix: catch more errors in file browser
2024-10-14 19:27:38 +02:00
67f49110dc
feat: don't log file browser completion messages
2024-10-14 19:16:08 +02:00
118b2b56f8
refactor: zig fmt all source files
2024-10-14 12:16:00 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager
2024-09-19 21:54:18 +02:00
bf3fe5f2ba
refactor: run zigimports
...
closes : #38
2024-09-10 22:25:54 +02:00
7b812d73ea
refactor: change a -> allocator
2024-09-02 14:31:49 +02:00
2d67d4a2c6
feat: use current file name as default for save as
2024-08-30 21:03:45 +02:00
a2674c121e
feat: add save_as mini mode
2024-08-30 20:25:26 +02:00
c54896a86c
refactor: split open_file mini mode into file_browser & open_file
2024-08-30 20:15:51 +02:00
062c989e6f
fix(open_file): restore match expression when returning to first completion
2024-08-29 21:46:17 +02:00
d4162e9f64
fix(open_file): fix matching in project root
2024-08-29 21:45:32 +02:00
8beddc5ea2
feat(open_file): complete files per directory with simple prefix matching
2024-08-29 21:36:51 +02:00
gensss
c3603443f9
open_file: fix possible underflow in delete_to_previous_path_segment
...
When opening a file, if one writes only "/" then presses ctrl+backspace the "path" slice will end up [0 .. -1].
This crashes in debug build, and possibly in some rare circumstances in release build.
2024-08-27 21:41:47 +02:00
4700505362
feat: add S-tab keybinding to open_file
2024-08-26 22:42:38 +02:00
0c6f7a50b8
feat: make C-Backspace in open_file delete to previous path segment
2024-08-26 21:58:05 +02:00
f1e3165dc3
feat: add fuzzy search file completion in open_file command
...
closes #30
2024-08-26 21:49:32 +02:00
953fc8535c
feat: add up/down/enter keybindings to find_in_files mode to browse and select matches
2024-08-12 23:23:17 +02:00
9a6c5baf8b
feat: add keybindings for next/previous file in filelist_view (A-n/p)
2024-07-28 22:41:07 +02:00
5f22ce81bc
feat: improve find in files performance
2024-07-28 00:13:18 +02:00
f535fc02bf
feat: more work on new find in files results table
2024-07-27 23:57:56 +02:00
66df590541
refactor(find): use dynamic input buffer in find mode and improve some edge cases
2024-07-05 19:56:01 +02:00
032982c1e8
refactor: rework error handling to simplifiy command implementation and provide better back traces
2024-06-26 23:29:39 +02:00