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
26cb33cad9
fix: tracing using zig-0.15 Writer and add a trace file write lock
2025-09-27 21:55:31 +02:00
65414d2d73
fix: update keybind test case for zig-0.15
2025-09-26 21:05:50 +02:00
f90d486eae
fix: update Buffer.store_to_string for zig-0.15
2025-09-26 21:05:16 +02:00
8f1375745d
fix: simplify and update Buffer.get_byte_pos for zig-0.15
2025-09-26 21:04:42 +02:00
2867fc9a8e
fix: update Buffer.get_line function for zig-0.15
2025-09-26 21:03:57 +02:00
0f560ed3bc
fix: Buffer.rebalance on zig-0.15
2025-09-26 15:36:25 +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
06b9d2384e
fix: flush lsp log file after every message
2025-09-26 14:09:44 +02:00
705ff49ae8
fix: remove bogus assert in Buffer drain function
2025-09-26 13:17:04 +02:00
4125db2617
fix: Writer.Allocation.initOwnedSlice does not append
2025-09-26 12:51:52 +02:00
Igor Támara
1ade0b1b89
feat: use modal behavior from flow to support helix mode
...
Using sane defaults from flow to
<space>b choose buffer using flow default picker
<space>f choose file using flow default picker
<space>/ find in files with flow default pane (ripgrep)
2025-09-25 22:24:00 +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
21384b7a5f
feat: add %
for select_all and zz
to scroll_view_center in helix mode
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
e6b39c274c
refactor: lots and lots of writergate changes
2025-09-24 22:30:18 +02:00
96e8100373
Merge branch 'master' into zig-0.15
2025-09-24 18:33: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
622d65497a
feat: add helix mode keybindings for keypad keys
2025-09-23 22:58:52 +02:00
82c11c64f3
feat: add keybindings for keypad navigation keys
2025-09-23 22:52:21 +02:00
14dbc08bcf
feat: add string mappings for keypad key events
2025-09-23 22:31:12 +02:00
Jonathan Marler
5cc6724a07
win32 gui: center double-wide characters
2025-09-23 22:14:29 +02:00
Jonathan Marler
921f094509
workaround crash when rendering some utf8 on win32 gui
...
closes #194
Ignores cells that have graphemes with more than 1 codepoint rather than
crash.
2025-09-23 22:14:29 +02:00
Jonathan Marler
2790dcfd11
add some new text to the font test
2025-09-23 22:14:29 +02:00
Jonathan Marler
05b87b1406
finish win32 gui support for double-wide characters
2025-09-23 22:14:29 +02:00
8278a080af
fix: actually use staging_size in WindowState.generateGlyph
2025-09-23 22:14:29 +02:00
a9d4fed205
feat: support wide characters in win32 gui
...
closes #132
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
52996ed57d
feat: make AST keybindings more intuitive
2025-09-22 13:07:03 +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
99dc805817
feat: add flow mode keybinds for unnamed AST sibling movement
2025-09-22 12:26:43 +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
7228a604b0
feat: add byte offset support to vim style '+' cli arguments
...
This adds support for using `+b{offset}` on the command line.
2025-09-17 22:46:35 +02:00
219b8cd00a
feat: support byte offsets in file links
...
This adds support for a 'b' prefix to the first file link argument
to denote a byte offset.
`{path/to/file.ext}:b{offset}`
2025-09-17 22:42:25 +02:00
7c5a22c959
feat: add goto_offset keybind "b" in goto mini mode
...
This effectively makes `ctrl+g b` the goto_offset keybinding.
2025-09-17 22:18:45 +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
935b178d89
feat: add Buffer.Node.byte_offset_to_line_and_col and testcase
2025-09-17 22:17:00 +02:00