Commit graph

141 commits

Author SHA1 Message Date
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
3b4c81c706
feat: add open_previous_file command
closes #56
2024-10-24 18:27:30 +02:00
c02dcbaa08
feat: use undo instead of delete_backward to revert initial chord keystroke 2024-10-22 19:32:06 +02:00
Visen
b70da1918c
Chording support for vim mode (#53)
* initial experimental success

* refined chording

* add default value

* refactor chording from switch to if

* revert change introduced when debugging

* remove unnecessary try

* added configuration option
2024-10-22 18:59:06 +02:00
63734ef81b
feat: add ModalBackground and make all palettes modal 2024-10-19 18:29:10 +02:00
252ad3c269
feat: simplify the implementation of switch_case and add a flow mode keybind 2024-10-15 20:49:26 +02:00
xdBronch
9c448b14e5 add vim/helix ~ 2024-10-15 20:49:19 +02:00
f631b672c4
feat: add emacs style keybind for command palette (A-x)
A-x is also more likely tmux compatible
2024-10-15 09:52:09 +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
470967981b
feat: add command to toggle syntax highlighting (S-F10) 2024-10-12 20:26:40 +02:00
xdBronch
5182756f1d add vim normal hover keybind and fix typo 2024-10-12 09:06:18 +02:00
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode 2024-10-10 23:16:49 +02:00
3ca4d06cc4
fix: palette scrollbar bounds 2024-10-09 21:02:02 +02:00
3bea19084c
fix: add missing selection_updated call to palette up/down commands 2024-10-09 20:48:50 +02:00
f1ea8ae8d2
feat: add flow mode keybindings for expand_/shrink_selection 2024-09-25 20:13:46 +02:00
716ff784a6
refactor: sort flow mode hints 2024-09-25 20:13:01 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bdd16f43fb
feat: add support for command metadata 2024-09-17 23:00:48 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
042c41aca3
feat: add hover command keybindings 2024-09-10 20:27:06 +02:00
4d25f77e1b
feat: add toggle_input_mode (F2) home screen key binding 2024-09-02 17:33:28 +02:00
462da0e992
fix: make sure users can get out of helix mode with F2 or the command palette 2024-09-02 17:29:36 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
gabydd
ad58b1868d stub out almost all helix keybindings 2024-09-02 13:44:48 +02:00
gabydd
7dbb5458f5 start porting over helix keybindings
some are completly wrong many have comments about
what the proper helix command looks like,
only touches normal mode
2024-09-02 13:44:48 +02:00
7b877de6d7
feat: use palatte instance specific name and icon 2024-08-31 21:13:55 +02:00
2d67d4a2c6
feat: use current file name as default for save as 2024-08-30 21:03:45 +02:00
3ec4f5d429
feat: add flow mode keybinding for save_as (C-S-s) 2024-08-30 20:25:26 +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
9b80687373
fix: sort by length (shortest first) for equal fuzzy matching scores in palette 2024-08-29 19:09:25 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +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
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +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
da7a2d2330
feat: add beam and underline cursors to helix modes 2024-08-26 20:57:27 +02:00
0b42308321
feat: duplicate vim modes to create helix modes 2024-08-26 20:54:21 +02:00