Commit graph

913 commits

Author SHA1 Message Date
338d7f7bf3
feat: add follow_cursor_on_buffer_switch option (default false)
With this option disabled (the default) flow will not change the buffer
position at all when switching active buffers. Enable the option to
return to previous behaviour where the cursor is always scrolled into
view.

closes #271
2025-07-01 21:11:55 +02:00
53ea08a41e
fix: don't truncate scratch buffer names in tabs and terminal title 2025-06-24 12:21:10 +02:00
a33f6c8c2b
feat: add support for ~ expansion to open_file command and file_browser 2025-06-19 16:08:34 +02:00
717bef9c61
build: update to latest libvaxis and zg api 2025-06-04 22:22:52 +02:00
b9fbd6825d
fix: minor home screen fixes 2025-06-03 19:16:22 +02:00
006e1ddb45
fix: remove multithreaded buffer access in project_manager
Until we have proper multithreaded buffer lifetime management we should avoid
accessing buffers that may have been deleted already.
2025-06-03 18:14:00 +02:00
3853ac8aea
feat: add highlight_columns_enabled config option and store it on toggle_highlight_columns 2025-06-03 17:22:56 +02:00
947e55e0c6
fix: word/line wise dragging should keep the original word/line selected
Also, fix bad behaviour when double/triple clicking the last word or line in a
file.

closes #264
2025-06-02 14:44:25 +02:00
17be71042b
feat(completion): store received completions in a buffer 2025-05-27 21:56:30 +02:00
bb71a43233
refactor: default initialize editor list members with .empty 2025-05-27 21:55:23 +02:00
1258d76986
refactor: convert local ArrayList to ArrayListUnmanaged in editor 2025-05-27 21:43:57 +02:00
b1cb25d335
refactor: convert editor.find_history to an ArrayListUnmanaged 2025-05-27 20:51:54 +02:00
bbdb1c445f
refactor: convert editor.filter.whole_file to an ArrayListUnmanaged 2025-05-27 20:47:44 +02:00
9023109b21
refactor: convert Buffer.MetaWriter to an ArrayListUnmanaged 2025-05-27 20:47:13 +02:00
39a57e457d
refactor: convert CurSel.List to an ArrayListUnmanaged 2025-05-27 20:45:52 +02:00
12dd1e9c8a
refactor: convert editor.matches to an ArrayListUnmanaged 2025-05-27 20:25:18 +02:00
99c2e8da4e
refactor: convert editor.diagnostics to an ArrayListUnmanaged 2025-05-27 20:19:52 +02:00
8934bf5cd0
feat(completion): forward completion entries to current editor 2025-05-26 22:47:26 +02:00
f59125f74a
feat: add home/end keybindings to palette 2025-05-26 15:45:02 +02:00
3c233a8dbf
feat: add vim mode command to reload_file (:e!) 2025-05-23 11:11:25 +02:00
6618a2d84d
fix: left an right movements jump to selection boundary
When there is an active selection, basic left and right movements should cancel
the selection and place the cursor on the left/right of where the selection was.

closes #244
2025-05-15 15:52:36 +02:00
Robert Burnett
7ec25cfb46 fix compile error 2025-05-13 18:16:33 +02:00
Robert Burnett
fcbb377237 removed mark related code 2025-05-13 18:16:33 +02:00
Robert Burnett
acded15af8 added * command in vim mode 2025-05-13 18:16:33 +02:00
Robert Burnett
4765f47dd0 begin supporting global marks 2025-05-13 18:16:33 +02:00
Robert Burnett
d88b15ce04 began support vim mark system 2025-05-13 18:16:33 +02:00
Robert Burnett
28fdd95747 added cut_buffer_begin command and vim binding 2025-05-13 18:16:33 +02:00
Robert Burnett
54aa30602f added dG vim binding 2025-05-13 18:16:33 +02:00
980529029f
feat(flicker): avoid triggering initial render from branch widget 2025-04-30 18:51:55 +02:00
df70384b7b
feat: add toggle_highlight_columns command (shift+f11) 2025-04-30 09:59:59 +02:00
df11ec3d5f
fix: re-render on branch widget update 2025-04-30 09:24:35 +02:00
CO
9291445c64 Single line fix for palette crashing when its
items's length is exceeded.
2025-04-30 07:50:57 +02:00
e39d9ed4b3
fix: render control codes in mini buffer input with unicode control code symbols
closes #236
2025-04-28 16:46:36 +02:00
993add1a43
feat: add restore_last_cursor_position config option (default true) 2025-04-28 11:02:54 +02:00
05a14ae95c
feat: do a full reparse if tree-sitter reports syntax errors
This change will scan for tree-sitter errors after a partial reparse and do a
full reparse if there are are more errors than the error threshold (currently 5).
This helps prevent the tree-sitter syntax tree getting out of sync during
multi-cursor edits.
2025-04-24 21:09:51 +02:00
c217db02f2
feat: display mini git status in branch widget 2025-04-23 22:28:48 +02:00
4ecf46b527
refactor: make branch widget a Button 2025-04-23 22:28:48 +02:00
6ae5dc5c4c
feat: add support for init/deinit functions in Button context values 2025-04-23 22:28:48 +02:00
9f117550fa
refactor: use explicit error set in MessageFilter.add 2025-04-23 20:15:03 +02:00
b82c582a83
feat: add some whitespace to branch widget 2025-04-22 21:28:09 +02:00
5ebd6353b3
feat: make logview include precision for small tdiff values 2025-04-22 18:00:13 +02:00
f76085325a
feat: query project files via git (part 1) 2025-04-21 21:43:29 +02:00
d9affca09b
feat: add config option to enable jit-in-time debugging
This option tells flow to start gdbserver and pause the process waiting for
gdb to connect when a crash happens.
2025-04-21 19:08:35 +02:00
a0d0a8273c
feat: check we have a git repo in the branch widget 2025-04-21 18:13:44 +02:00
a1632da329
fix: paste in goto mode 2025-04-21 13:54:22 +02:00
45574ff5c5
feat: add git branch widget 2025-04-20 22:51:43 +02:00
5ad074c681
feat: start git client module 2025-04-19 23:41:30 +02:00
07a2c19b9d
fix: side scrolling of highlight_columns 2025-04-18 21:41:01 +02:00
e3fee6a415
feat: dynamically allocate highlight_columns 2025-04-18 21:40:28 +02:00
376ca8c9fc
feat: use solid alpha dimmed background color for highlight column 2025-04-18 20:51:04 +02:00