4394940594
refactor: migrate keybind module to std.log
2025-12-02 12:52:23 +01:00
9dd12ad7dc
fix: broken tests
2025-12-02 12:40:08 +01:00
764a8cce41
feat: display keybind namespace and config section in hints window title
2025-12-02 11:45:36 +01:00
e473ae90f7
refactor: store original config section name in keybind binding sets
2025-12-02 11:44:52 +01:00
58f5ebd687
refactor: add text insert begin and end characters to widgetstyles
2025-12-02 09:00:54 +01:00
8dc6f9823d
fix: don't log keybind hints message for modifier key events
2025-12-01 22:30:24 +01:00
49acb2c3d5
feat: log keyhints message on unbound key events
2025-12-01 22:23:32 +01:00
dad8deac7a
refactor: scroll keybinding hints
2025-12-01 22:15:55 +01:00
3012fdcd90
feat: add scroll_keybind_hints command
2025-12-01 22:13:02 +01:00
a296471161
refactor: filter hidden commands
2025-12-01 21:49:23 +01:00
61515cfc3a
refactor: fallback to key event prefix bindings in full hint mode
2025-12-01 21:45:46 +01:00
632cf8cfb3
refactor: add mode.current_bindings function
2025-12-01 21:37:40 +01:00
8f5b880684
refactor: add full input mode hints support to keyhints
2025-12-01 21:36:53 +01:00
125e204ac8
feat: add ctrl+? keybind to enable hints mode
2025-12-01 21:35:58 +01:00
1d38bc36d3
feat: add command to toggle keybind hint mode
2025-12-01 21:33:10 +01:00
8d7fe3c5fe
feat: render keyhints for keybindings that match the current keybind prefix
2025-12-01 20:19:17 +01:00
c9f43844cb
feat: filter kp_ key bindings from hints window
...
These are almost always duplicates.
2025-12-01 20:19:06 +01:00
42ce0e5a7a
fix: index out of range in vaxis.Layer.draw
2025-12-01 20:19:06 +01:00
824a2a1ee1
feat: add command to change hint window widget style (shift+alt+f9)
2025-12-01 20:19:06 +01:00
e4dba00625
feat: add hint_window widget type
2025-12-01 20:19:06 +01:00
4658c4820f
refactor: remove unused put_at_pos function
2025-12-01 20:19:06 +01:00
0666893151
refactor: make keybind.Binding public
2025-12-01 15:54:19 +01:00
3221e2dd39
refactor: add tui.have_top_layer
2025-12-01 15:43:55 +01:00
aaca270de4
refactor: move render_decoration to WidgetStyle
2025-12-01 15:43:55 +01:00
a1455e8e3d
refactor: move from_client_box and to_client_box to Widget.Box
2025-12-01 15:43:55 +01:00
a6e1087773
feat: add support in keybind module for looking up key sequence prefix matches
...
This is the initial part of some sort of which-key like function.
2025-12-01 15:43:55 +01:00
11d6770913
fix: avoid setting the terminal background color until we know what the system color scheme is
...
This was in the hope that it might fix kitty's behavior with
enable_terminal_color_scheme enabled. Unfortunately it makes no
difference to kitty (kitty stops sending color scheme updates). I
am commiting these changes anyway as it seems a little cleaner to
avoid setting the background color twice on startup.
2025-11-29 11:05:31 +01:00
f99e10652c
refactor: add Editor.with_cursels_const_repeat
2025-11-27 12:34:19 +01:00
c7c271e903
refactor: CurSel.to_selection is internal
2025-11-27 12:34:14 +01:00
8ba6e1843a
refactor: don't special case cursor rendering in inclusive mode
...
This is too confusing. Rendering cursors differently, only in inclusive
mode and only if there is an active selection is too confusing and pushes
a lot of edge cases into otherwise simple commands.
This will likely break a lot of the existing helix commands, but is better
in the long run to fix them anyway.
2025-11-27 12:34:10 +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
a639201807
fix: remove extra close_file call in mainview.extract_state
2025-11-26 19:21:23 +01:00
7dcde628ac
refactor: drop config file loading message
2025-11-26 19:21:05 +01:00
198ee29abe
refactor: remove verbose log messages in mainview
2025-11-26 19:20:46 +01:00
008950255b
fix: don't respond to editor events in mainview during project switch
2025-11-26 19:20:14 +01:00
335f1bedab
fix: some minor typos
2025-11-26 19:13:05 +01:00
4f68e692d1
refactor: add a lot of logging during change_project
2025-11-26 19:12:27 +01:00
e134cfc949
refactor: use exaustive enum for whitespace
2025-11-26 16:40:08 +01:00
2ca1a742a1
feat: add whitespace_mode external
2025-11-26 16:39:48 +01:00
741096cb43
fix: navigate to editor_file_path only if it's buffer was restored
2025-11-26 16:26:31 +01:00
c8840f0756
fix: make sure project state is freed with the correct allocator
2025-11-26 16:26:31 +01:00
20129ea773
feat: save and restore mainview state when switching projects
2025-11-26 16:26:31 +01:00
bbeba10fe5
refactor: split up mainview write_state and extract_state functions
...
For better reusuability. So we can store/restore state on project switch.
2025-11-26 16:26:31 +01:00
690498fdcc
feat: add modes_can_change_cursor configuration option
2025-11-26 16:26:31 +01:00
c1707b132e
fix: smart select next find mode if find mode is .auto
2025-11-26 12:52:23 +01:00
891b80e5bb
fix: case fold find pattern in find_all_ranges mode .case_folded
2025-11-26 12:48:29 +01:00
29231ad87a
fix: windows build
2025-11-26 12:13:54 +01:00
9f57d8ef28
fix: bump libvaxis grapheme cache size to 32kb
...
This fixes some graphemes getting lost on very large screens with a lot of
text on screen.
2025-11-26 12:08:46 +01:00