Commit graph

409 commits

Author SHA1 Message Date
3c8b35b25e
fix: remove typo 2025-11-27 16:56:54 +01:00
631e8fca41
refactor: reduce duplication of context getting code in helix mode 2025-11-27 16:45:42 +01:00
b3db0922ed
fix: make helix move_prev_word_start an exact match to real helix 2025-11-27 16:44:16 +01:00
423b8c1613 fix: build fix after rebase/merge 2025-11-27 12:33:01 +01:00
Jakob Ingvast
1bae864022 Fixed selection extensions with new helper functions 2025-11-27 12:33:01 +01:00
Jakob Ingvast
608df1518a Initial attempt to fix prev and next word movement 2025-11-27 12:33:01 +01:00
335f1bedab
fix: some minor typos 2025-11-26 19:13:05 +01:00
c1707b132e
fix: smart select next find mode if find mode is .auto 2025-11-26 12:52:23 +01:00
68b17301cd
refactor: use unchecked Utf8View in utf8 transformation
Internally we use only validated utf8 and unchecked performs much better
and reduces unused error values.
2025-11-26 09:33:04 +01:00
2520a37a90
feat: add case auto and case insensitive mode to find 2025-11-25 22:48:11 +01:00
2ff0521040
refactor: move all zg LetterCasing usage to Buffer.unicode 2025-11-25 17:16:53 +01:00
34af852634
refactor: remove obsolete Editor.selection_pos_to_width function 2025-11-25 13:30:28 +01:00
5ffd34680e
refactor: make Editor.enable_selection infallible again
As a concept, it should not be possible for enable_selection to fail.
Even for inclusive selections. Having enable_selection possibly return
an error introduces lots of complexity that is not useful.
2025-11-25 12:56:45 +01:00
765a5d2dc7
feat: add results count to generic palette
closes #401
2025-11-23 19:36:11 +01:00
23e66d8fe9
feat: add results count to open_recent palette 2025-11-23 19:35:58 +01:00
db8bd0840f
fix: find the closest matching symbol not the largest enclosing symbol 2025-11-18 23:27:59 +01:00
8c0eac80cf
refactor: use a match instead of the primary cursor in symbol_palette 2025-11-18 23:27:34 +01:00
bca4dbf777
fix: use after free crash in theme_palette 2025-11-18 20:17:47 +01:00
f9bbb55814
fix: select previous symbol if there is no symbol at the cursor 2025-11-18 20:03:36 +01:00
ae6df9dba8
feat: pre-select symbol at the primary cursor in symbol_palette 2025-11-18 19:59:08 +01:00
fc244eabb6
feat: focus currently selected symbol in symbol_palette instead of going to it 2025-11-18 19:56:17 +01:00
1d06b71102
refactor: move themes palette to top right
To better see what the thmeme looks like for the current screen it
is better to not cover it so much.
2025-11-18 19:39:28 +01:00
0e994e9f25
refactor: disable dimming in theme palette
To better evaluate the themes it is better not to dim.
2025-11-18 19:38:14 +01:00
99e32520ad
fix: disable quick activate in themes palette 2025-11-18 19:36:25 +01:00
53391aa7b5
refactor: limit palette quick activation to first palette_menu_activate_quick event 2025-11-18 19:35:36 +01:00
9597dd7b6d
fix: regression by bad merge in 1600bf6 2025-11-18 19:33:40 +01:00
f26d0534de
fix: reversed logic of palette modal_dim 2025-11-18 19:32:58 +01:00
c8ed34701c
refactor: extract whole symbol range in symbol_palette 2025-11-18 19:02:42 +01:00
310dadb9be
refactor: place .top_right palettes at right edge of centered views 2025-11-18 18:14:30 +01:00
b566612068
refactor: place symbols palette on the right and disable dimming 2025-11-18 18:01:08 +01:00
d5bd31652e
refactor: allow palettes to configure placement 2025-11-18 18:00:37 +01:00
f7134df47c
refactor: allow palettes to disable dimming 2025-11-18 18:00:01 +01:00
Igor Támara
c61bdd7042 refactor: symbol palette column adjustments 2025-11-18 15:53:49 +01:00
Igor Támara
0fd1cae8df refactor: symbol palette column max width change 2025-11-18 15:53:49 +01:00
Igor Támara
7ae983a419 fix: hx use explicit mode on match brackets
to cases where mode renaming could potentially give unexpected
behaviour.

Reverting 891a445ed43590f3a40b4058786a1405d6e2f077.
2025-11-18 15:40:41 +01:00
Igor Támara
fd3401748e refactor: identify mode inside hx on bracket matching 2025-11-18 10:48:07 +01:00
Igor Támara
3d0a0571c2 fix: removed unused code 2025-11-18 10:48:07 +01:00
Igor Támara
0b80ae50db refactor: simplify match mode 2025-11-18 10:48:07 +01:00
Igor Támara
4b3e71408a feat: [hx] maw and maW support 2025-11-18 10:48:07 +01:00
Igor Támara
878aef9926 feat: [hx] miw and miW support 2025-11-18 10:48:07 +01:00
Igor Támara
a35bbc7e96 refactor: prepare match minimode 2025-11-18 10:48:07 +01:00
1600bf6406
fix: task_palette should use the correct mode hints for width calculations 2025-11-17 20:24:24 +01:00
Igor Támara
f6d1f27337 feat: [hx] mm match brackets support 2025-11-17 18:43:42 +01:00
Igor Támara
6e9e00e142 feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file
contents and see the context.
2025-11-16 22:56:36 +01:00
e6f0953732
feat: add path segment completion to open_recent palette 2025-11-11 13:26:48 +01:00
6502989fb8
fix: task palette width calculation properly this time 2025-11-10 16:39:45 +01:00
36c975dc20
fix: prevent different match types from cancelling each other out 2025-11-10 14:12:53 +01:00
Igor Támara
b7d1f15eb5 feat: [hx] Alt+s Add cursors with selections for selected lines 2025-11-07 13:51:59 +01:00
e5d78c95a5
feat: split and navigate on shift+enter in find_file 2025-11-06 19:23:15 +01:00
05a551b5b4
fix: match offset in task_palette 2025-11-06 12:22:27 +01:00