d14f0de018
refactor: clean-up duplicate commands overlay_toggle_panel/_inputivew
2025-12-01 12:47:11 +01:00
bc791cad21
fix: extend the correct end of the selection in move_cursor_prev_word_start_extend
2025-11-27 20:24:53 +01:00
31db6b22a5
fix: use correct direction for selection in move_cursor_prev_word_start
2025-11-27 20:19:36 +01:00
fd880b0094
fix: don't stomp on existing selection when entering helix SEL mode
2025-11-27 20:18:48 +01:00
084822ebd6
refactor: eliminate redundent healper function
2025-11-27 20:13:58 +01:00
71387aaa43
refactor: re-write all helix commands to use bound self parameter
...
This makes implementing commands in helix mode almost identical to
implementing them inside the editor directly.
2025-11-27 20:11:22 +01:00
fb6e47fd77
fix: init all cursors in init_helix_select_mode
2025-11-27 19:41:34 +01:00
93f8587881
refactor: move goto_line_vim into mode specific commands files
2025-11-27 18:23:23 +01:00
fd7bed592d
refactor: move more mode specific commands to helix & vim
2025-11-27 18:03:53 +01:00
a5c360a2ec
refactor: completely remove inclusive selection mode
...
Having inclusive mode change a few critical functions behind the sceans
is not a good way to share functionality. Basically every function is
broken in one or the other mode. So we remove it entirely and instead
will rely on different functions for different behaviors.
2025-11-27 17:22:58 +01:00
b8e9f981f2
refactor: add explicit command for initializing helix select mode
2025-11-27 16:57:59 +01:00
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