Commit graph

22 commits

Author SHA1 Message Date
b698fffd25
refactor: get zine watcher to build in flow 2025-12-04 15:01:50 +01:00
02deaab3a7
fix: always call reload_file when re-openning an hidden non-ephemeral buffer
This is less confusing than just restoring the buffer as is. If the file has
changed on disk the usual expectation is to load the new contents on re-opening
the file.

closes #339
2025-10-28 16:34:44 +01:00
b463622f05
fix: allow Buffer.Manager.delete_buffer calls on dead buffers 2025-10-10 12:34:00 +02:00
22e36481d6
fix: don't leak buffer names when deleting buffers
This commit also refactors the Buffer.Manager to make similar issues
easier to avoid in future.
2025-10-06 22:28:52 +02:00
Igor Támara
f201728457 hx: Fix closing other buffers and improve user messages 2025-10-06 21:16:33 +02:00
Igor Támara
d3e601e774 Show feedback to user when trying to quit with dirty buffers 2025-10-06 21:16:33 +02:00
Igor Támara
552417091d feat: add helix mode close other buffers and reload all
* x and x! have expected behaviour in Helix mode
2025-10-06 21:16:33 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
e6b39c274c
refactor: lots and lots of writergate changes 2025-09-24 22:30:18 +02:00
38236bd93a
refactor: Buffer.Manager.get_buffer_for_file can be const 2025-08-13 14:40:59 +02:00
991c47f3b3
feat: restore buffer manager state on restart 2025-08-07 18:02:55 +02:00
c88e2dd975
fix: don't leak Buffer.file_path 2025-08-05 15:24:18 +02:00
e6e0301a78
feat(buffers): save/restore full editor state on buffer switch 2025-01-29 23:03:34 +01:00
b45b5910ee
feat(buffers): save and restore editor metadata on buffer switch 2025-01-29 20:56:56 +01:00
939537ed84
feat(buffers): add support for ephemeral buffers
Ephemeral buffers are not hidden and kept when closed. Ephemeral buffers
can be turned into regular buffers by saving them with save_as.
2025-01-27 18:59:13 +01:00
4d3d91a744
feat(buffers): add support for buffer references 2025-01-26 21:06:51 +01:00
5e6fc6a932
feat(buffers): use buffer_manager to select most recent files
And remove obsolete file_stack.
2025-01-24 23:22:31 +01:00
d7b48b40f1
feat(tabs): start work on a tabbar widget 2025-01-23 22:32:08 +01:00
0a632416a4
feat(buffers): add delete_buffer command and keybinding for buffer_palette 2025-01-22 22:23:56 +01:00
3f06f6b19c
feat(buffers): add buffer switcher 2025-01-21 22:32:43 +01:00
efb3ab42fd
feat(buffers): add tracking of last modified and last used times for buffers 2025-01-21 21:59:55 +01:00
aa1e0674cc
feat(buffers): move buffer lifetime management to new Buffer.Manager module 2025-01-21 21:42:36 +01:00