Commit graph

58 commits

Author SHA1 Message Date
c65a4af30a
fix: helix g g command keybind 2025-12-02 16:24:20 +01:00
5f242d6cf2
refactor: mark helix mode keybindings that are not implemented 2025-12-02 16:24:20 +01:00
8d8f4b82cb
refactor: completely remove inclusive selection mode
Having inclusive mode change a few critical functions behind the sceans
is not a good way to share functionality. Basically every function is
broken in one or the other mode. So we remove it entirely and instead
will rely on different functions for different behaviors.
2025-12-02 16:24:16 +01:00
dd88be893e
refactor: add explicit command for initializing helix select mode 2025-12-02 16:22:38 +01:00
Igor Támara
7ae983a419 fix: hx use explicit mode on match brackets
to cases where mode renaming could potentially give unexpected
behaviour.

Reverting 891a445ed43590f3a40b4058786a1405d6e2f077.
2025-11-18 15:40:41 +01:00
Igor Támara
5a6c010e58 feat: [hx] Added keybind for toggle_centered_view 2025-11-18 14:04:44 +01:00
Igor Támara
fd3401748e refactor: identify mode inside hx on bracket matching 2025-11-18 10:48:07 +01:00
Igor Támara
0b80ae50db refactor: simplify match mode 2025-11-18 10:48:07 +01:00
Igor Támara
a35bbc7e96 refactor: prepare match minimode 2025-11-18 10:48:07 +01:00
Igor Támara
f6d1f27337 feat: [hx] mm match brackets support 2025-11-17 18:43:42 +01:00
Igor Támara
8637152fc9 feat: [hx] map keybind to split commands 2025-11-17 18:19:26 +01:00
Igor Támara
368b139688 feat: fetch lsp symbols on user demand 2025-11-16 22:56:36 +01:00
Igor Támara
20a2b77db1 fix: [hx] regression on select move left and right 2025-11-06 14:34:47 +01:00
Igor Támara
c3bd6b6bc3 refactor: [hx] group word movements 2025-11-03 22:48:20 +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
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
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
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
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
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
622d65497a
feat: add helix mode keybindings for keypad keys 2025-09-23 22:58:52 +02:00
CO
392cb2c764 Fixed broken shifted keybinds for Helix mode 2025-04-28 10:35:27 +02:00
ivel.santos
6283d04442 Helix: fixing c keymap behavior 2025-04-13 14:18:54 +02:00
ivel.santos
66f94a40e9 Helix: normal mode after delete 2025-04-13 14:18:54 +02:00
ivel.santos
ccaeded0c8 Fix pasting line 2025-04-13 14:18:54 +02:00
ivel.santos
e59cd32ed8 copy and paste improvs and inclusive selection correction 2025-04-10 06:42:58 +02:00
ivel.santos
105be85d0f goto_line_vim: integer parameters 2025-04-09 07:09:08 +02:00
ivel.santos
f58babf2e7 Extend_line_below: integer parameter 2025-04-09 07:09:08 +02:00
ivel.santos
e993296590 add helix mode keybindings for setting integer argument 2025-04-09 07:09:08 +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
63270246d9
feat: call pause/resume_undo_history on entering/exiting insert modes
This makes undo atomic for insert mode changes.
2025-04-07 21:08:59 +02:00
563eb57e44
refactor: move cut_to helix workaround to a helix specific command 2025-04-03 06:37:29 +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
e669849629 Helix mode: find_file 2025-04-03 06:13:05 +02:00
Levi Santos
d8553dd9d7 Helix mode: move_to_char 2025-04-03 06:13:05 +02:00
Levi Santos
b5a57e0901 Helix mode: adding file_picker_in_current_directory 2025-04-03 06:13:05 +02:00
4b34804670
feat: re-organize home screen 2025-03-06 21:11:51 +01:00
4f5fa4a3ba
feat(keybind): move selection mode into keybind mode configuration 2025-01-19 19:21:44 +01:00
e1b1591167
feat(win32 gui): add font selection palette
closes #102
2025-01-17 20:32:20 +01:00
João Pedro
a21f0e6ac5 Fix half and whole page movements 2025-01-10 22:34:42 +01:00
9ace78e3a9
feat: separate binding key seqences with space instead of '>' 2025-01-07 16:13:02 +01:00