Commit graph

2159 commits

Author SHA1 Message Date
019aa94196
refactor: render cursors only in focused editors 2025-11-06 19:23:14 +01:00
739ab1e101
feat: add flow mode keybinds for add_split and close_split
Step one on the road to #279
2025-11-06 19:23:14 +01:00
ce2a40031a
feat: focus editor on click 2025-11-06 19:23:14 +01:00
9e7639e034
refactor: add tui.set_focus_by_mouse_event and tui.set_focus_by_widget 2025-11-06 19:23:14 +01:00
ef991a8bee
refactor: add view focus support and close_split command to mainview 2025-11-06 19:23:14 +01:00
b9ac322ca2
refactor: add focus/unfocus support to home view 2025-11-06 19:23:14 +01:00
d52139579d
refactor: add focus/unfocus support to EditorWidget 2025-11-06 19:23:14 +01:00
c02a5d939c
refactor: add Widget.get_at function 2025-11-06 19:23:14 +01:00
3437f4fd20
refactor: add focus/unfocus to widget vtable 2025-11-06 19:23:14 +01:00
70cc191c4a
refactor: add support for delayed registering of command collections 2025-11-06 19:23:14 +01:00
Janne Hellsten
64deb9cee6 Fix devlink URL 2025-11-06 19:22:02 +01:00
Igor Támara
20a2b77db1 fix: [hx] regression on select move left and right 2025-11-06 14:34:47 +01:00
1289cfc3af
fix: build with -Duse_tree_sitter=false 2025-11-06 14:14:14 +01:00
05a551b5b4
fix: match offset in task_palette 2025-11-06 12:22:27 +01:00
7019d56142
fix: un-cramp empty task list 2025-11-06 12:17:58 +01:00
98855a73e4
build: add source tarballs to release process 2025-11-05 22:59:17 +01:00
406e4bba45
fix: integer arguments to goto command 2025-11-05 21:56:18 +01:00
f0e2ef442f
feat: make b key in goto mini mode toggle goto byte offset mode 2025-11-05 21:33:04 +01:00
477e232f19
fix: add back missing space to clipboard palette hints 2025-11-05 20:38:24 +01:00
8b50c7a3af
fix: fully deinit keybind.Mode to avoid race when switching modes 2025-11-05 16:39:35 +01:00
983e518f69
fix: add not-yet-persisted projects to recent_projecsts list 2025-11-05 16:33:42 +01:00
7744bdf6c4
fix: update Project.last_used when switching projects 2025-11-05 16:33:12 +01:00
03d07d682f
feat: always list active project first in project_manager.request_recent_projects 2025-11-05 14:43:55 +01:00
089a835160
refactor: remove active project last_used override in project_manager.load_recent_projects
Makes more sense to update last_used after loading as we may need to add the entry.
2025-11-05 14:42:39 +01:00
c47ce8702c
fix: don't leak project names in project_manager.request_recent_projects 2025-11-05 14:41:36 +01:00
9a961c8dd2
fix: check if tree-sitter Node.getParent() returns a null node in expand_selection
closes #360
2025-11-05 13:55:22 +01:00
0f7a4f25e4
fix: check for formatter executable before trying to start formatter job
closes #359
2025-11-04 21:32:18 +01:00
9a13191e10
feat: add reStructuredText support
closes #353
2025-11-04 17:19:51 +01:00
8be5a14eda
fix: allow indenting of blank lines if there is just one cursor 2025-11-04 15:47:45 +01:00
5e292e75b5
fix: store redo metadata along with undo metadata and restore it on redo
This commit refactors undo storage and handling significantly.

The undo/redo chaining in Buffer is much simpler and clearer.

The metadata generated by Editor now contains the pre and post change
states. The pre-state is restored on undo and the post-state is restored
on redo.

closes #348
2025-11-04 15:32:43 +01:00
76952a7d1b
fix: check clipboard is not empty before pasting in helix mode 2025-11-04 14:09:20 +01:00
03f2821e5f
fix: post location updates to project_manager creating or navigating buffers
This fixes newly created files not showing in the find_files palette. It also
fixes MRU ordering not updating when switching tabs.

closes #331
2025-11-04 13:19:09 +01:00
19f88a8349 feat: bind restore_closed_tab to ctrl+shift+t 2025-11-04 12:40:33 +01:00
n0n
1d28985568 feat: reopen closed tab 2025-11-04 12:40:33 +01:00
0b28218a98
feat: move open_previous_file keybind to project to work anywhere 2025-11-04 12:29:14 +01:00
b116d10348
feat: allow open_previous_file to jump back to a closed tab 2025-11-04 12:27:34 +01:00
eb72f06be1
refactor: rename maybe_reset_drag_source 2025-11-04 11:43:37 +01:00
15b600b570
fix: clipboard_palette does not paste the selected item 2025-11-04 11:42:50 +01:00
Igor Támara
1ac34340b4 test: [hx] Exercises some aspects of BEW and bew
closes #315
2025-11-03 22:48:20 +01:00
Igor Támara
8d2355dcb8 refactor: [hx] move and extend word sharing common code 2025-11-03 22:48:20 +01:00
Igor Támara
c3bd6b6bc3 refactor: [hx] group word movements 2025-11-03 22:48:20 +01:00
Igor Támara
a8c056c211 feat: hx extend word to right 2025-11-03 22:48:20 +01:00
0bef3ce2e1
fix: do not indent blank lines 2025-11-03 22:43:25 +01:00
cd1d9f3042
fix: don't clip leading whitespace based on cursor column in smart_insert_line 2025-11-03 22:37:12 +01:00
9026404d6d
fix: save file when toggling auto_save on 2025-11-03 22:18:14 +01:00
15c9469365
fix: render auto_save state in filestate widget
closes #344
2025-11-03 22:16:48 +01:00
99cd7b6dc5
refactor: send auto_save state in more editor events 2025-11-03 22:16:09 +01:00
0c38e8c4ea
fix: don't show dirty state in tabs for auto_save buffers 2025-11-03 22:14:43 +01:00
8d0f333ad8
refactor: simplify Buffer.write_state 2025-11-03 22:14:15 +01:00
30b1329d10
refactor: move auto_save flag from Editor to Buffer 2025-11-03 22:13:54 +01:00