Commit graph

215 commits

Author SHA1 Message Date
a5bf57e0e6
feat: add config options to disable scrollbars and/or file icons 2025-03-06 17:11:49 +01:00
3408751d11
feat: also add extra new line and indent for () and [] 2025-03-05 21:59:00 +01:00
04ad617fb2
feat: indent and insert extra new line in smart_insert_line between braces
closes #197
2025-03-05 21:27:27 +01:00
c984f3c392
feat: add smart_delete_backward command for improved smart pair handling 2025-03-04 19:51:31 +01:00
e34aed4a95
feat: improve smart_insert_pair and add smart_insert_pair_close 2025-03-04 19:06:51 +01:00
e285099253
refactor: fix spelling of egc_at function 2025-03-04 18:50:38 +01:00
afcda4fc01
fix: don't restore editor view rows and cols 2025-03-02 21:48:34 +01:00
70612f211a
feat: add save_file_with_formatting command 2025-03-02 21:47:44 +01:00
Gero Schwäricke
514e175ef4 feat: save file without formatting 2025-03-01 21:22:29 +01:00
c9333372e9
build: fix tracy build 2025-02-28 21:42:39 +01:00
67f1ab1697
feat: add smart_insert_pair command
closes #90
2025-02-26 22:03:50 +01:00
57a75a08d6
feat: make join_next_line collapse whitespace 2025-02-25 21:38:06 +01:00
bb3ca15679
refactor: replace white_space with whitespace 2025-02-25 21:28:33 +01:00
7747dd3acf
refactor: add more tracy zones to measure startup performance 2025-02-22 21:26:17 +01:00
7c354c994f
feat: improve shell_execute_stream_output to follow output tail only if cursor is at buffer end 2025-02-21 22:05:16 +01:00
c7cca545b9
fix: make move_cursor_up/_down fallback to move_begin/_end
closes #185
2025-02-19 18:42:14 +01:00
fdabe03e91
refactor: run zig fmt 2025-02-19 18:41:46 +01:00
0bd34279a8
Merge remote-tracking branch 'lulvz/vim_bindings_013' 2025-02-13 21:04:19 +01:00
lulvz
1b016774c7 fix(vim): Remove 'jk' keybinding again and make select_line_vim work on multiple cursors 2025-02-13 13:38:04 +00:00
641d92a5cc
feat: allow calling create_scratch_buffer with no parameters 2025-02-13 11:51:10 +01:00
lulvz
e443e8397b feat(vim): Add word movement for visual mode, and complete vim mode cut to end of line 2025-02-12 21:38:27 +00:00
Luís Tavares
4e4034d0f2
Merge branch 'master' into vim_bindings_013 2025-02-12 21:09:56 +00:00
9f2e3bf4b4
fix: load case data early on startup instead of on demand
This is to avoid an issue with the decompressor causing heap
corruption on macos.

closes #169
2025-02-12 18:13:07 +01:00
lulvz
0ea63accd9 feat(vim): implement cut to end of line functionality in vim mode 2025-02-11 16:13:39 +00:00
lulvz
715bb6bbcf feat(vim): Add VISUAL line mode to vim mode, fix vertical movement behaviour 2025-02-11 15:19:04 +00:00
02ba05c500
feat(buffer): restore previous file type when switching buffers 2025-02-11 11:31:16 +01:00
5afabeb7a5
fix: translate command line column from byte position to actual column 2025-02-10 19:52:06 +01:00
c186264eac
feat: add configuration and command to toggle display of inline diagnostics 2025-02-06 21:13:35 +01:00
72234e7cb3
Merge master-pre-zig-0.14 into zig-0.13 2025-02-06 21:11:35 +01:00
lulvz
5c352be7d0 feat(vim): add goto definition keybind back, fix cut word descriptions, removed unnecessary is_not_word_char_vim 2025-02-04 20:40:18 +00:00
1764b3259c
fix: allow cut to cut to end of the document
closes #165
2025-02-04 20:33:36 +01:00
lulvz
04748a4add feat(vim): add vim-style cut, copy, and paste operations that use internal clipboard only 2025-02-03 20:09:12 +00:00
lulvz
87fb11eaa1 feat(vim): update selection mode to normal (while inclusive doesn't work) and add cut operations for word navigation 2025-02-02 21:59:30 +00:00
lulvz
5269f2eff6 feat(editor): implement cut operations for internal clipboard buffer for vim 2025-02-02 16:45:18 +00:00
lulvz
5d21fb07dc feat(vim): add move_word_right_end_vim function (correspondent to e in NORMAL mode) and update keybindings 2025-02-02 13:16:15 +00:00
lulvz
a3864224dd feat(editor): implement vim-style word movement for cursor navigation 2025-02-02 13:08:15 +00:00
lulvz
21540af8ef feat(editor): start implementing is_word_boundary_left_vim for vim-like word detection 2025-02-02 02:04:44 +00: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
a706e0b976
feat: allow setting the file type in create_scratch_buffer command
Also, fix args forwarding.
2025-01-27 19:52:55 +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
304a62dfdc
feat(tasks): mark task buffers as clean when task exits 2025-01-26 21:06:52 +01:00
d7b48b40f1
feat(tabs): start work on a tabbar widget 2025-01-23 22:32:08 +01:00
1d947ab499
refactor: improve capsulation and safety of tui module public api 2025-01-23 16:45:04 +01:00
4145460012
refactor: simplify Plane/Widget usage 2025-01-23 16:12:56 +01:00
a4ac3a42fd
feat(keybind): special case disable_selection in delete_selection 2025-01-22 15:29:01 +01:00
0368bb15a6
feat(keybind): simplify and clean-up a little 2025-01-22 15:28:03 +01:00
Meredith Oleander
a0f8d33781 tui/editor.zig: add disable_selection, and make check_selection play nice with inclusive selections 2025-01-22 18:47:55 +11:00
Meredith Oleander
80c8795c3b
Merge branch 'master' into helix-mode-selections 2025-01-22 13:47:37 +11:00
aa1e0674cc
feat(buffers): move buffer lifetime management to new Buffer.Manager module 2025-01-21 21:42:36 +01:00