Commit graph

983 commits

Author SHA1 Message Date
8aee0f3a4f
refactor: use Selection.is_reversed 2025-09-29 22:30:36 +02:00
32c70f0e47
fix: minor leak in editor format command 2025-09-29 22:30:18 +02:00
d6843c4fb9
Merge branch 'master' into zig-0.15 2025-09-29 21:04:55 +02:00
0cbf966b1e
feat: highlight markdown titles 2025-09-29 21:03:50 +02:00
27c01b940a
feat: render ast nodes in inspector view even when there are no highlights 2025-09-29 21:03:42 +02:00
2992b0f520
Merge branch 'master' into zig-0.15 2025-09-29 18:19:38 +02:00
Igor Támara
d695d69383 feat: closing and saving including multiple in helix mode
Review of devlogs to use internal functions to also:

* select next and prev word
* select to start en of doc
* delete to end of line
* Add Cursor to next line
* Show diagnostics
* Show references
2025-09-28 00:06:48 +02:00
b8d2679cbc
Merge branch 'master' into zig-0.15 2025-09-27 23:29:42 +02:00
a5d3eb18f3
feat: add automatic dark/light mode support
This adds a new configuration option `light_theme` and support for automatically
switching the active dark/light theme from terminal events.

closes #302
2025-09-27 23:24:12 +02:00
757096bfb3
fix: use std.heap.stackFallback more carefully 2025-09-26 15:35:14 +02:00
dfdb82ca20
refactor: move write_range to Buffer 2025-09-26 15:04:17 +02:00
Igor Támara
2390590279 feat: add shorcuts for buffers in helix mode
## Added Behaviour for buffers

:n create a new buffer - Uses language selection from flow <3
:bc close current buffer
:bn next buffer
:bp previous buffer
:rl reload current buffer
:qa! abandon without saving any buffer
2025-09-25 22:24:00 +02:00
Igor Támara
9db6bf56c1 feat: add :x alias for :wq in helix mode 2025-09-25 22:24:00 +02:00
720bb9515f
Merge branch 'master' into zig-0.15 2025-09-25 22:04:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
7c49138eac
feat: add :qa! aliase for quit_without_saving in vim mode 2025-09-25 14:56:26 +02:00
6c385bc35a
fix: missing padding in buffer_palette 2025-09-25 14:55:57 +02:00
203f05fef7
feat: make select_next_sibling select the node at the cursor if there is no selection 2025-09-25 10:56:16 +02:00
bfa3ea007c
feat: make shrink_selection select the node at the cursor if there is no selection 2025-09-25 10:55:33 +02:00
bcef17a466
fix: make sure we don't destroy file_path before navigating in open_file mini mode 2025-09-24 13:59:56 +02:00
Jonathan Marler
2790dcfd11 add some new text to the font test 2025-09-23 22:14:29 +02:00
f7496654ae
feat: add vim mode aliases for buffer commands
This adds these vim mode specific commands:

:bd (Close file)
:bw (Delete buffer)
:bnext (Next buffer/tab)
:bprevious (Previous buffer/tab)
:ls (List/switch buffers)

closes #296
2025-09-23 15:52:18 +02:00
be758be087
feat: make delete_buffer command with no argument delete the current buffer 2025-09-23 15:51:27 +02:00
1ef77601e3
feat: allow next/previous sibling functions to work with no selection 2025-09-22 13:06:53 +02:00
8100e7d52b
refactor: improve const correctness in AST navigation functions 2025-09-22 12:58:10 +02:00
30af629a1a
refactor: expose CurSel.to_selection method 2025-09-22 12:55:31 +02:00
60016a3d03
feat: improve expand_selection by selecting top selection matching node 2025-09-22 12:26:43 +02:00
4035cefcaf
feat: add optional integer arguments to goto and goto_offset commands 2025-09-17 23:05:21 +02:00
2461717f11
feat: add support for byte offsets in file links to navigate command 2025-09-17 22:47:50 +02:00
30a457158c
feat: add goto_offset mini mode and command 2025-09-17 22:18:20 +02:00
18cd62ba7e
feat: add editor goto_byte_offset command 2025-09-17 22:17:48 +02:00
933126e2a0
feat: add support for {row}:{column} syntax in goto mini mode 2025-09-17 20:39:45 +02:00
59921d8e10
feat: restore cursor column when cancelling goto mini mode
This commit refactors the numeric_input mini mode to make the input value
type generic. This allows the goto mini mode to store the origin column
along with the row. Also, this will allow more complex numeric_input modes,
for example a goto mini mode that supports column and row.
2025-09-17 10:04:27 +02:00
9bdc3e0a0a
fix: handle completion items with no type icon
superhtml fix
2025-09-13 20:06:44 +02:00
4eda1fec0c
feat: set beam_blick as the default cursor shape if we have mutil cursor support 2025-09-13 16:09:59 +02:00
251c74a23b
feat: set secondary cursors color from theme in multi cursor mode 2025-09-08 22:07:10 +02:00
5caab36297
feat: add basic POC support for kitty multi cursor protocol 2025-08-25 21:02:53 +02:00
bcf4babd9f
fix: allow helix mode paste_after command to work at the end of the file
closes #288
2025-08-23 19:00:11 +02:00
5286975257
fix: move internal clipboard from buffer local to session wide
closes #287
2025-08-22 22:18:57 +02:00
69ea495495
feat: add config option lsp_output "quiet" to reduce LSP log verbosity
Set the option to "verbose" to re-enable logging of LSP show/logMessage requests.
2025-08-20 21:00:24 +02:00
9bc25620cb
fix: over eager whitespace collapsing in smart_insert_line 2025-08-18 21:07:49 +02:00
9d127e4cc3
fix: add support for kitty mouse leave events
This prevents reporting kitty mouse leave events as spurious mouse clicks.
2025-08-18 15:14:50 +02:00
d53a24a1d2
fix: make open_recent_projects run async 2025-08-18 14:47:01 +02:00
cdd1e09069
feat: add support for loading palettes with arguments 2025-08-18 14:42:34 +02:00
06a31ea5fd
fix: mark find in files results as byte positions 2025-08-17 22:33:24 +02:00
4188e25df9
feat: add support for specifying byte positions in filelist_view 2025-08-17 22:32:44 +02:00
7207b0435e
feat: add support for specifying positions in bytes in goto_line_and_column 2025-08-17 22:31:15 +02:00
057a9d60cd
feat: add completion palette 2025-08-15 23:30:54 +02:00
961090140a
refactor: split render_file_item_cbor into two functions for better reuse 2025-08-15 23:26:13 +02:00
70efcc8693
feat: add no_store argument to set_theme command for cli use 2025-08-15 12:55:59 +02:00