Commit graph

361 commits

Author SHA1 Message Date
407d5fa888
feat: quit when closing last open split 2025-11-10 19:04:37 +01:00
27bdd64f88
feat: add focus_split command 2025-11-10 19:01:12 +01:00
06e967a69d
feat: bind highlight_references to ctrl+k i in flow mode 2025-11-07 13:35:40 +01:00
e5d78c95a5
feat: split and navigate on shift+enter in find_file 2025-11-06 19:23:15 +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
Igor Támara
20a2b77db1 fix: [hx] regression on select move left and right 2025-11-06 14:34:47 +01:00
f0e2ef442f
feat: make b key in goto mini mode toggle goto byte offset mode 2025-11-05 21:33:04 +01:00
8b50c7a3af
fix: fully deinit keybind.Mode to avoid race when switching modes 2025-11-05 16:39:35 +01:00
19f88a8349 feat: bind restore_closed_tab to ctrl+shift+t 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
Igor Támara
c3bd6b6bc3 refactor: [hx] group word movements 2025-11-03 22:48:20 +01:00
223260887d
feat: add underlining keybinds ctrl+_, ctrl+= and ctrl+plus
ctrl+_ => select char to underline with
ctrl+= => underline with '='
ctrl+plus => underline with '=' preserving spaces

closes #350
2025-11-02 21:32:52 +01:00
28688b49de
refactor: move_to_char mini mode into a reusable get_char mini mode 2025-11-02 20:26:55 +01:00
6f57578925
feat: add flow mode bindings for plain move_begin (ctrl+k home) 2025-10-31 22:53:50 +01:00
Igor Támara
8246f2b0ba feat: [hx] r to replace with a character
If no selection, the character under the cursor is replaced, if
selection, each character is replaced by the typed character.
2025-10-30 22:40:53 +01:00
ec783d68a6
feat: bind insert_command_name to ctrl+k ctrl+s in flow mode
Like in visual studio code, as insert_command_name is the closest thing
we have to a keybind reference.
2025-10-30 14:19:13 +01:00
eb11a40a9f
feat: bind select_line to alt+shift+e in flow mode
Like in visual studio, because the more common ctrl+l is already taken.

Also, remove some keybinds for commands that don't exist.
2025-10-30 14:18:17 +01:00
dff0b233d1 feat: add flow mode keybinding for delete_line 2025-10-30 11:45:43 +01:00
Igor Támara
f5efe8e94f feat: [hx] Add F, T, t, f select and extension movements 2025-10-29 20:58:40 +01:00
Igor Támara
65665fb28b feat: [hx] in Normal mode select to char right
f j in normal mode selects to the char j in the buffer if it exists,
else the cursor stays in place
2025-10-29 20:58:40 +01:00
4113fdddd5
feat: add flow mode keybind for show_vcs_status (ctrl+shift+g) 2025-10-28 22:24:50 +01:00
61de5d89d7
refactor: rename open_changed_files to show_vcs_status
This fits a bit better as we will add commands to do more than just
open the files in the status palette.
2025-10-28 22:21:16 +01:00
Igor Támara
8d0fa9a355 feat: [hx] space g bound to open changed and new files reported by git 2025-10-28 22:20:36 +01:00
Igor Támara
1e998c12e4 feat: [hx] zt zc zb scroll keybinds and G support 2025-10-28 17:53:20 +01:00
Igor Támara
fa75da6f41 feat: added keypadd presses to match normal keys 2025-10-28 16:57:25 +01:00
91b54d6842
feat: bind ctrl+shift+page_up/page_down to move_tab_next/_previous in flow mode 2025-10-24 12:19:26 +02:00
geemili
c2fa54810f hx: bind g m to open_most_recent_file 2025-10-15 21:22:36 +02:00
geemili
a0fa408514 hx: change g a keybind to use open_previous_file 2025-10-15 21:22:36 +02:00
d6cdcfdb1a
fix: gg in helix mode should be bound to goto_line_vim 2025-10-15 10:24:16 +02:00
Igor Támara
7faea783f3 refactor: hx paste(before, replace, after)
Code simplification and zig idiomatics to improve code readability.
2025-10-15 10:12:34 +02:00
Igor Támara
f288d24e13 hx: feature parity on copy paste (P before, R replace, r after) 2025-10-15 10:12:34 +02:00
99c28b8102
refactor: move clipboard_history command to tui module 2025-10-13 20:00:09 +02:00
acbf435a2e
feat: use alt+shift+v keybind for clipboard history palette 2025-10-13 19:50:20 +02:00
11d086945d
feat: add ctrl+page_up/_down keybinds for next/previous tab
And move move_scroll_* commands to alt+page_up/_down.
2025-10-10 15:20:06 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
2bd5d913a8
fix: move flow mode select mode keybind to ctrl+shift+a
shift+space is too easy to trigger accidentally.
2025-10-05 16:49:51 +02:00
7963e20058
feat: add tab keybinding to active completion item 2025-10-02 20:24:26 +02:00
fa397b1642
fix: add ctrl+space keybind for completion and move SELECT mode to shift+space 2025-10-02 16:37:38 +02:00
cb389888e5
feat: add command toggle_color_scheme and flow mode keybind (alt+f11) 2025-09-30 14:23:30 +02:00
2992b0f520
Merge branch 'master' into zig-0.15 2025-09-29 18:19:38 +02:00
Igor Támara
d695d69383 feat: closing and saving including multiple in helix mode
Review of devlogs to use internal functions to also:

* select next and prev word
* select to start en of doc
* delete to end of line
* Add Cursor to next line
* Show diagnostics
* Show references
2025-09-28 00:06:48 +02:00
b8d2679cbc
Merge branch 'master' into zig-0.15 2025-09-27 23:29:42 +02:00
65414d2d73
fix: update keybind test case for zig-0.15 2025-09-26 21:05:50 +02:00
4125db2617
fix: Writer.Allocation.initOwnedSlice does not append 2025-09-26 12:51:52 +02:00
Igor Támara
1ade0b1b89 feat: use modal behavior from flow to support helix mode
Using sane defaults from flow to

<space>b choose buffer using flow default picker
<space>f choose file using flow default picker
<space>/ find in files with flow default pane (ripgrep)
2025-09-25 22:24:00 +02:00
Igor Támara
21384b7a5f feat: add % for select_all and zz to scroll_view_center in helix mode 2025-09-25 22:24:00 +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
622d65497a
feat: add helix mode keybindings for keypad keys 2025-09-23 22:58:52 +02:00
82c11c64f3
feat: add keybindings for keypad navigation keys 2025-09-23 22:52:21 +02:00