Commit graph

971 commits

Author SHA1 Message Date
Yhya Ibrahim
7fad128304 fix: pass allocator to list_languages.list 2024-09-02 20:33:46 +03:00
Yhya Ibrahim
adf1725737 feat: in list_languages write a checkmark behind an executable and x if not an executable 2024-09-02 20:21:20 +03: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
4a04b44fef
fix: don't render both logo and overlay mode icon 2024-08-31 21:07:02 +02:00
e7b3c5c91a
fix(windows): minor build fixes for windows 2024-08-31 21:02:28 +02:00
267ccdd069
fix: do not restore project MRU history for files that don't exist 2024-08-30 22:03:18 +02:00
a1ba46cba8
fix: update color for typst file_type 2024-08-30 21:07:15 +02:00
2d67d4a2c6
feat: use current file name as default for save as 2024-08-30 21:03:45 +02:00
e79f10d59f
feat: add typst file type 2024-08-30 20:58:57 +02:00
8c1f1b806b
feat: update tree-sitter to add typst 2024-08-30 20:58:39 +02:00
de1ef110b1
docs: remove false statement about vim commands from help.md 2024-08-30 20:27:35 +02:00
72893f4407
docs: add save_as to help.md 2024-08-30 20:27:18 +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
34540bbff0
feat: add editor.save_file_as command 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
0a33c7a85c
feat: update libvaxis to add proper URI encoding for OSC7 2024-08-30 13:50:33 +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
16b28c0254
feat: add project_manager.request_path_files 2024-08-29 21:35:25 +02:00
538e0f6809
fix: don't render app logo in mini modes 2024-08-29 19:21:39 +02:00
9b80687373
fix: sort by length (shortest first) for equal fuzzy matching scores in palette 2024-08-29 19:09:25 +02:00
9d93ba5319
fix: correct clock widget tick timer calculations
and avoid calling .cancel() on timer tick
2024-08-29 16:57:15 +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
c348aa9656
fix: use correct DEADSEND matching in project_manager 2024-08-29 16:53:34 +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
xdBronch
1caf2aa0f6 dont error on empty saves 2024-08-29 01:07:59 +02:00
e6c6dd994d
fix: save anyway if format on save fails 2024-08-27 22:52:22 +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
d11ea9dde4
feat: add enable_format_on_save configuration option 2024-08-27 21:39:23 +02:00
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +02:00
e2aca87d7d
build: update thespian 2024-08-27 19:28:55 +02:00
70ec2a11c5
fix: only fallback to get_next_file in get_next_diagnostic if it is available 2024-08-27 19:18:30 +02:00
32f00daf76
fix: disable some LSP requests that we don't actually support 2024-08-27 19:18:20 +02:00
Tim Culverhouse
5a01792fd1 clock: simplify zeit usage
Pass the timezone as part of the `instant` call.
2024-08-27 08:11:03 +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
4b97564f29
feat: add a simple clock status bar widget 2024-08-26 20:54:22 +02:00
fa5da6e6d9
refactor: merge expander and spacer status bar widgets 2024-08-26 20:54:21 +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