Commit graph

856 commits

Author SHA1 Message Date
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
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
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
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
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
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
70ec2a11c5
fix: only fallback to get_next_file in get_next_diagnostic if it is available 2024-08-27 19:18:30 +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
xdBronch
b115d55097 feat: add spacer widget 2024-08-26 07:58:34 +02:00
bff019e26e
fix: dupe top_bar and bottom_bar to keep it in scope 2024-08-25 23:26:18 +02:00
042b2f330d
fix: allow duplicate logview.init calls 2024-08-25 21:18:55 +02:00
4df737e78f
feat: make status bars configurable 2024-08-25 21:18:35 +02:00
9efff08e1f
refactor: use explicit error type to Button widget 2024-08-25 20:36:17 +02:00
13c80e2c49
feat: add flow mode keybindings for new goto commands 2024-08-25 15:07:33 +02:00
xdBronch
9e59e808ba
add more goto commands 2024-08-25 15:03:23 +02:00
0758838cce
feat(vim): add Shift-i keybind for vim normal mode 2024-08-24 18:57:43 +02:00
55a7f5bd35
feat: improve terminal title rendering 2024-08-23 22:20:53 +02:00
409f636902
refactor: move application title and subtext to root module 2024-08-23 22:20:43 +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
08e06bc8dd
refactor: clean-up flow logo rendering 2024-08-21 21:55:35 +02:00
b656ebc49e
fix: clear file list view before showing new diagnostics 2024-08-20 16:09:02 +02:00
521c7befef
fix: zero file list view position on reset() 2024-08-20 16:08:28 +02:00
e83d9ea74d refactor: simplify load_entries in command and theme palette 2024-08-19 22:53:38 +02:00
67ffff4caa fix: allocate and free entry.name in open_recent_project palette 2024-08-19 22:52:19 +02:00
bd27db46d1 feat: open most recent file on project switch 2024-08-19 22:44:57 +02:00