c6d59c1472
fix: don't stop unindenting on blank or full unindented lines
...
closes #263
2025-07-03 09:39:03 +02:00
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
717bef9c61
build: update to latest libvaxis and zg api
2025-06-04 22:22:52 +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
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
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
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
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
07a2c19b9d
fix: side scrolling of highlight_columns
2025-04-18 21:41:01 +02:00
376ca8c9fc
feat: use solid alpha dimmed background color for highlight column
2025-04-18 20:51:04 +02:00
ebfb9f7184
feat: add copy_file_name command
2025-04-15 17:52:20 +02:00
ivel.santos
ccaeded0c8
Fix pasting line
2025-04-13 14:18:54 +02:00
ivel.santos
7778512c35
Correcting selection after paste
2025-04-10 06:42:58 +02:00
ivel.santos
e59cd32ed8
copy and paste improvs and inclusive selection correction
2025-04-10 06:42:58 +02:00
4aca7063f2
feat: add reload_file command
2025-04-09 19:14:02 +02:00
9892e693b0
fix: insert right char on move failure in smart_insert_pair_close
...
closes #228
2025-04-09 14:50:19 +02:00
ivel.santos
105be85d0f
goto_line_vim: integer parameters
2025-04-09 07:09:08 +02:00
33d4eb044a
feat: add highlight_columns initial basic implementation
...
closes #208
2025-04-08 23:17:23 +02:00
Levi
5199dcdd27
feat: Vim mode: till_char ( #224 )
2025-04-08 20:05:09 +02:00
41339b05e4
fix: merge build failure in helix.move_next_word_end and add repeat support
2025-04-08 19:32:00 +02:00
Levi
7a1a411aaf
feat: Helix mode: move_next_word_end ( #223 )
...
* Helix mode: move_next_word_end
* fix: don't match against legacy unshifted keys when we have extended input text
closes #205
* refactor: remove duplicate implementation of command.get_id
* feat: re-add support for integer command arguments
closes #182
* feat: display pending integer argument in keybind widget
* fix: call configured init_commands for all mode types
* feat: add flow mode keybindings for setting integer argument
* feat: add support for repeat integer arguments to many commands
* feat: add emacs mode keybindings for setting integer argument
* feat: add vim mode keybindings for setting integer argument
* resolving conflit
* disable_selection
---------
Co-authored-by: CJ van den Berg <cj@vdbonline.com>
2025-04-08 19:23:56 +02:00
6bed62e51d
feat: add support for repeat integer arguments to many commands
2025-04-08 18:07:21 +02:00
Levi
fb985a703a
feat: Helix & Vim mode: adding more commands ( #218 )
...
* Helix mode: select_left
* select_to_char_right implementation
* Vim select_to_char_left
* Helix select_to_char_left
* Helix & Vim: select_end
* select_to_char_left: Avoid panic with no selection
* select_left_helix: handling panic and shrinking code
* Correcting helix left and right select
* Helix mode: select_left
* select_to_char_right implementation
* Vim select_to_char_left
* Helix select_to_char_left
* Helix & Vim: select_end
* select_to_char_left: Avoid panic with no selection
* select_left_helix: handling panic and shrinking code
* Correcting helix left and right select
* Enable_selection on init_command
* move_to_char modification
* move_or_select
---------
Co-authored-by: CJ van den Berg <cj@vdbonline.com>
2025-04-08 10:28:29 +02:00
716f871d03
fix: pause_/resume_undo_history should correctly store/restore an undo point
2025-04-07 21:10:10 +02:00
563eb57e44
refactor: move cut_to helix workaround to a helix specific command
2025-04-03 06:37:29 +02:00
62c6313107
refactor: mark more editor functions as public
2025-04-03 06:29:31 +02:00
Levi Santos
0babbb1833
fix(helix): Making d and c work as expected in normal mode
2025-04-03 06:16:13 +02:00
ivel.santos
d2d6508ed8
Helix mode: move_cursor_word_left
2025-04-03 06:13:05 +02:00
ivel.santos
bef8549afa
Helix mode: move_next_word
2025-04-03 06:13:05 +02:00
Levi Santos
b850befc5d
Helix mode: adding extend_line_below
2025-04-03 06:13:05 +02:00
8a0e048674
fix: don't reverse insert pairs when selection is reversed
...
closes #204
2025-03-18 16:25:52 +01:00
47a6024c80
feat: add caching of tree-sitter query objects
2025-03-18 14:26:31 +01:00
1943d65924
Merge branch 'master' into zig-0.14
2025-03-06 17:14:56 +01:00
a5bf57e0e6
feat: add config options to disable scrollbars and/or file icons
2025-03-06 17:11:49 +01:00
ce6df051fb
Merge branch 'master' into zig-0.14
2025-03-05 21:59:16 +01:00