Commit graph

432 commits

Author SHA1 Message Date
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
3340ff5ef9
fix: add missing syntax.reset() call on full syntax refresh 2024-10-27 16:20:22 +01:00
66dfcd4a91
fix: relax tree-sitter full reparse time limit to avoid incremental parsing 2024-10-27 16:10:12 +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
d804203760
fix: only render the first line of multiline diagnistics inline
fixes #51
2024-10-24 22:36:33 +02:00
3b4c81c706
feat: add open_previous_file command
closes #56
2024-10-24 18:27:30 +02:00
d33d5dcac2
refactor: clean-up mainview.show_file_async_and_free usage 2024-10-24 18:25:46 +02:00
0dc6fae7b7
fix: reduce modal background fade amount 2024-10-23 20:05:56 +02:00
6755eaab44
fix: convert column to byte position in inspector_view.inspect_location
fixes #54
2024-10-23 12:20:40 +02:00
c02dcbaa08
feat: use undo instead of delete_backward to revert initial chord keystroke 2024-10-22 19:32:06 +02:00
40809835ae
fix: don't repeatedly send hover requests for the same editor cell 2024-10-22 19:07:26 +02:00
dc1d0146be
fix: don't show info view panel on empty hover response 2024-10-22 19:06:34 +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
dc6202aa1d
fix: prevent divide by zero on small animation_max_lag values 2024-10-20 21:42:08 +02:00
6d9dd2a899
feat: tie ModalBackground fade time to animation_max_lag config option 2024-10-20 21:33:38 +02:00
03cdcd260e
fix: propagate configured frame rate to widgets 2024-10-20 21:33:01 +02:00
db7f5f0224
fix: invalid config errors 2024-10-20 00:40:45 +02:00
f8084bd9ab
feat: fade out modal background 2024-10-20 00:23:54 +02:00
2efd3dff2e
feat: dim modal backgrounds 2024-10-19 20:34:15 +02:00
63734ef81b
feat: add ModalBackground and make all palettes modal 2024-10-19 18:29:10 +02:00
1ebd0795ba
fix: WidgetStack should walk widgets from top to bottom 2024-10-19 15:29:45 +02:00
9cc2613818
fix: double syntax_refresh_update_time 2024-10-15 22:52:23 +02:00
d10656b433
refactor: cache CaseData in Editor 2024-10-15 22:51:46 +02:00
88cf5670aa
fix: make switch_case flip each character individually 2024-10-15 22:27:59 +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
7b9a4fd586
fix: use more widely available box character for indent guides
The standard box chars are rendered properly in more terminals.
2024-10-15 10:49:47 +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
dc25a0ea14
refactor: improve handling and reporting of project manager and lsp errors 2024-10-14 17:56:39 +02:00
118b2b56f8
refactor: zig fmt all source files 2024-10-14 12:16:00 +02:00
1c6a832255
fix: correctly handle negative coordinates in tui.update_hover 2024-10-13 15:51:28 +02:00
f56326be80
fix: don't activate hover for widgets in top left corner on startup 2024-10-12 20:54:22 +02:00
470967981b
feat: add command to toggle syntax highlighting (S-F10) 2024-10-12 20:26:40 +02:00
f4dd30b1c2
feat: make --no-syntax just disable syntax highlighting and not language server support 2024-10-12 19:57:47 +02:00
xdBronch
5182756f1d add vim normal hover keybind and fix typo 2024-10-12 09:06:18 +02:00
8004b41eb4
fix: don't force a full syntax reparse on undo/redo 2024-10-12 00:54:04 +02:00
efc5546488
feat: only use partial tree-sitter reparsing if parsing take more than 5ms 2024-10-12 00:52:04 +02:00
e9a7d681f2 fix: add missing pos_to_width calls in add_diagnostic
This will fix the positioning of diagnostics in lines that have glyphs
with widths != 1 like tabs or emojis.
2024-10-11 21:07:55 +02:00
39d4197a42
fix: workaround indent size limitation in indent_cursor 2024-10-10 23:44:13 +02:00