Commit graph

31 commits

Author SHA1 Message Date
Igor Támara
90c08c4287 fix: helix copy now delegates properly memory to editor 2025-10-10 07:38:25 +02:00
Igor Támara
f201728457 hx: Fix closing other buffers and improve user messages 2025-10-06 21:16:33 +02:00
Igor Támara
d3e601e774 Show feedback to user when trying to quit with dirty buffers 2025-10-06 21:16:33 +02:00
Igor Támara
552417091d feat: add helix mode close other buffers and reload all
* x and x! have expected behaviour in Helix mode
2025-10-06 21:16:33 +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
Igor Támara
2390590279 feat: add shorcuts for buffers in helix mode
## Added Behaviour for buffers

:n create a new buffer - Uses language selection from flow <3
:bc close current buffer
:bn next buffer
:bp previous buffer
:rl reload current buffer
:qa! abandon without saving any buffer
2025-09-25 22:24:00 +02:00
Igor Támara
9db6bf56c1 feat: add :x alias for :wq 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
bcf4babd9f
fix: allow helix mode paste_after command to work at the end of the file
closes #288
2025-08-23 19:00:11 +02:00
5286975257
fix: move internal clipboard from buffer local to session wide
closes #287
2025-08-22 22:18:57 +02:00
ivel.santos
17f0faed68 Fix insert_line 2025-04-13 14:18:54 +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
ivel.santos
f58babf2e7 Extend_line_below: integer parameter 2025-04-09 07:09:08 +02:00
Levi
3ce4aaf33a
fix: move_next_word_end (#225) 2025-04-08 20:01:37 +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
563eb57e44
refactor: move cut_to helix workaround to a helix specific command 2025-04-03 06:37:29 +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
53045123c6
build: update to zig 0.14.0-dev.3039 2025-02-04 22:59:18 +01:00
1d947ab499
refactor: improve capsulation and safety of tui module public api 2025-01-23 16:45:04 +01:00
87e1ac1eef
fix: make helix mode save file commands easier to find
closes #76
2024-12-12 17:38:50 +01:00
6d1648a761
feat: add helix-mode save_selection command
closes #76
2024-12-12 17:38:06 +01:00
85b8ff8bea
feat: add back vim/helix mode specific commands 2024-12-01 22:06:09 +01:00