Commit graph

108 commits

Author SHA1 Message Date
73b7031693
feat: add insert_command_name command 2024-11-21 18:04:49 +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
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
e9f170372d
fix: dispatch flush events to both input and event handlers 2024-11-17 23:31:46 +01:00
e69960c6d4
fix: CommandNotFound: exit_overlay_mode/exit_mini_mode 2024-11-17 21:31:28 +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
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
9375ffabc0
fix: improve fallbacks to closer match vscode themes 2024-11-05 21:03:17 +01:00
b8a5d95bf3
feat: some tweaks to tui.fallbacks table to improve syntax highlighting 2024-11-04 15:18:04 +01:00
d26401cb17
feat: improve scope to theme token matching 2024-11-04 15:17:09 +01:00
fa23096f85
feat: make the language server request timeout a configurable option 2024-10-31 18:08:12 +01:00
dec2399b19
fix: refresh_hover when entering/exiting overlay modes 2024-10-31 13:54:14 +01:00
525287c7ac
refactor: move mode.event_handler back to input mode 2024-10-27 18:53:24 +01:00
9b6e01f358
refactor: move find_in_files keybindings to keybind module 2024-10-27 15:58:46 +01: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
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
dc25a0ea14
refactor: improve handling and reporting of project manager and lsp errors 2024-10-14 17:56:39 +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
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode 2024-10-10 23:16:49 +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
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
e7b3c5c91a
fix(windows): minor build fixes for windows 2024-08-31 21:02:28 +02:00
a2674c121e
feat: add save_as mini mode 2024-08-30 20:25:26 +02:00
629e6048aa
fix: use thespian.store/restore_error in tui.deinit
This prevents errors in tui.deinit, for example DEADSEND messages from timers,
from over writing the final exit message from the tui actor.
2024-08-29 16:53:54 +02:00
336ea8684e
feat: update thespian and add delay_send_cancellable tags 2024-08-29 16:52:26 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
0b42308321
feat: duplicate vim modes to create helix modes 2024-08-26 20:54:21 +02:00
Tim Culverhouse
d4b7a6ab9b vim: change cursor shape when only one cursor
In vim mode, change the cursor shape depending on the mode. This is only
applicable if `enable_terminal_cursor` is set to true and there is only
one cursor in the editor.
2024-08-26 20:49:54 +02:00
bff019e26e
fix: dupe top_bar and bottom_bar to keep it in scope 2024-08-25 23:26:18 +02:00
c627a49518
feat: add config option enable_terminal_color_scheme
This option defaults to off on windows because windows does not support
resetting the terminal colors on exit.

closes #26
2024-08-21 22:07:36 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
ea31e414ee refactor: clean-up command naming 2024-08-18 17:59:28 +02:00
4b6c08154b feat: add theme selection palette
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00