Commit graph

2525 commits

Author SHA1 Message Date
4d1eaa767b
refactor: notify editors on vcs_content updates 2025-12-17 22:09:14 +01:00
3fb4bd6510
refactor: add mainview.get_editor_for_buffer 2025-12-17 22:06:49 +01:00
d08749123f
refactor: make Buffer.get_vcs_id and Buffer.get_vcs_content const 2025-12-17 22:00:01 +01:00
6dba3609af
feat: request vcs id and content when opening or restoring files 2025-12-17 21:33:18 +01:00
2a3210a183
refactor: store received vcs_id and vcs_content in buffer 2025-12-17 21:12:02 +01:00
c021136fef
refactor: add request_vcs_id and request_vcs_content to project_manager 2025-12-17 21:01:02 +01:00
c651dd8c6f
fix: statusbar bug after restarting when no files are open 2025-12-17 20:56:13 +01:00
0017dabcf0
refactor: re-work git.rev_parse and git.cat_file 2025-12-17 20:45:08 +01:00
4f60e906d7
fix: integer overflow in scrollbar_v 2025-12-17 19:49:09 +01:00
8dbc5765d9
fix: clamp scrollbar hitbox at end of document 2025-12-17 18:24:04 +01:00
8745cd05d2
feat: improve scrollbar behavior
Clicking and dragging inside the scrollbar grip will now preserve the mouse click offset
and not jump to the center position on click.

Clicking outside the scrollbar grip will now jump as though the center of the grip was
dragged to the click position.

This is more inline with typical GUI scrollbar behaviors.
2025-12-17 14:34:50 +01:00
84225983b7
fix: fully reset cursor position and clear matches in find mode 2025-12-17 10:44:17 +01:00
6de60f681f
feat: add initial_find_query config option 2025-12-17 10:34:11 +01:00
f09bbbb7a9
fix: reset cursor to start when clearing find query buffer 2025-12-17 10:01:18 +01:00
23e90b9592
feat: expand variables in task arguments
closes #290
2025-12-16 23:10:08 +01:00
3fdee5e532
feat: expand variables in arguments to filters 2025-12-16 23:08:42 +01:00
4cd9644373
refactor: add expansion module 2025-12-16 23:03:02 +01:00
44a48510fd
fix: render highlight columns only based on the absolute column
closes #392
2025-12-16 16:23:52 +01:00
b52b06735b
fix: gg ge and G should select in helix SEL mode 2025-12-16 15:17:40 +01:00
fffedb7371
feat: add select_to_line_vim command 2025-12-16 15:17:13 +01:00
0dcf63bd38
feat: make goto in flow select mode select to line 2025-12-16 15:09:58 +01:00
a9ee5321ac
fix: don't auto_find on a single space
This is rarely useful and feels spammy.
2025-12-16 15:07:30 +01:00
c6c310b9d0
fix: crash in editor_gutter.print_digits 2025-12-16 14:45:32 +01:00
f26e68b651
fix: show *all* keybinds in hints window
Now that kp_ bindings don't need to be duplicated we can show them
all.
2025-12-16 13:49:43 +01:00
36d9a7023d
refactor: remove all duplicate kp_ keybinds in helix mode 2025-12-16 13:44:07 +01:00
721b118c32
refactor: remove all duplicate kp_ keybinds in flow mode 2025-12-16 13:42:21 +01:00
93c2c87632
feat: map kp_ movement keys as regular keys if the kp_ variants are not explicitly mapped
This makes it possible to use keypad movements without duplicating keybinds.
2025-12-16 13:41:06 +01:00
6633dd1c0e
refactor: add function to map kp_ movement keys to regular movement keys 2025-12-16 13:21:30 +01:00
b697d4de72
fix: reduce filter command log spam
closes #427

Mostly moved to debug output which is only logged in debug builds.
2025-12-16 13:19:54 +01:00
13257888fd
fix: treat kp_ numerics and operators as input keys 2025-12-16 13:11:39 +01:00
ea46f6559d
refactor: add missing key names for keypad numeric keys 2025-12-16 12:33:29 +01:00
1b4b815e8f
refactor: log missing executable name in filter not found messages 2025-12-16 09:43:13 +01:00
79a184aa4a
refactor: fix error handling in git.rev_parse 2025-12-15 23:25:33 +01:00
5fd499d141
fix: avoid "error invalid JSON in LSP initialization options" messge when there are no options 2025-12-15 22:45:21 +01:00
0143a7148a
refactor: add vcs_id and vcs_content fields to Buffer 2025-12-15 20:41:36 +01:00
a561de6602
refactor: simplify editor "update" event 2025-12-15 20:40:51 +01:00
95e42d2c78
build: remove unused git import in tui module 2025-12-15 17:07:26 +01:00
081ff6ec4f
refactor: add git.rev_parse and git.cat_file functions 2025-12-15 17:03:42 +01:00
8546c6ca14
fix: add helix keybinds for kp_multiply and kp_divide 2025-12-15 15:34:16 +01:00
cb8e4cb988 refactor: log error on invalid JSON in LSP configuration options 2025-12-15 13:05:54 +01:00
Palanix
8aa8e5cd3d Fix sending null 2025-12-15 13:05:54 +01:00
55b428cea6
fix: never use base layout keycodes
closes #389
2025-12-13 23:11:33 +01:00
1298ba3195
fix: don't overwrite shifted keycode with alternate text 2025-12-13 23:10:15 +01:00
3b24cd11a2 feat: add open_lsp_config_global and open_lsp_config_project commands 2025-12-13 22:34:07 +01:00
19b38609f8 fix: don't use extract_cbor on language_server_options
Also, simplify cbor encoding of initializationOptions.
2025-12-13 22:34:07 +01:00
8890ec7497 refactor: read lsp config from a separate file in the config directory 2025-12-13 22:34:07 +01:00
Palanix
9e0077985e Add basic LSP configuration capabilities 2025-12-13 22:34:07 +01:00
528d57fdf7
fix: palette padding on top_right placement 2025-12-13 18:47:11 +01:00
42ddbe5f2f
refactor: add egc_chunk_col_pos function 2025-12-12 14:27:49 +01:00
660449c1c0 refactor: use *std.Io.Writer instead of anytype 2025-12-12 14:25:10 +01:00