Commit graph

57 commits

Author SHA1 Message Date
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
Igor Támara
af9ff67e49 feat: [vim] % support for matching bracket under cursor 2025-11-17 18:43:42 +01:00
Pranav RK
8e35387ae6 feat: add ctrl-c keybind to exit insert mode 2025-07-13 09:07:24 +02:00
73e026c6f7
feat: add initial basic visual block vim mode 2025-05-15 21:10:04 +02:00
2cced4fbff
feat: add support for binding '<' and '>' in vim mode
closes #255
2025-05-15 16:57:40 +02:00
Robert Burnett
0e182b6ae4 add vim bindings for swapping tabs 2025-05-13 18:16:33 +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
7c51fa8400 add vim bindings for setting and goto'ing global marks 2025-05-13 18:16:33 +02:00
Robert Burnett
2d583fbd9e add bindings for the rest of the mark manipulation commands 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
da95070616 added join line binding for vim 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
43c77bb737 added goto buffer begin/end keybinds for vim mode 2025-05-13 18:16:33 +02:00
Robert Burnett
54aa30602f added dG vim binding 2025-05-13 18:16:33 +02:00
ivel.santos
105be85d0f goto_line_vim: integer parameters 2025-04-09 07:09:08 +02:00
Levi
5199dcdd27
feat: Vim mode: till_char (#224) 2025-04-08 20:05:09 +02:00
ae815043d9
feat: add vim mode keybindings for setting integer argument 2025-04-08 18:23:40 +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
44c55dd4f2
feat: add command palette bindings to vim visual modes
closes #212
2025-03-25 09:42:13 +01:00
4b34804670
feat: re-organize home screen 2025-03-06 21:11:51 +01:00
eb569157a8
feat(vim): add N vim mode binding for goto_prev_match 2025-02-20 21:21:55 +01:00
1eb6a773e5
feat(vim): add f and F keybindings for move_to_char 2025-02-14 20:24:04 +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
lulvz
69e1513441 fix(vim): Removed unnecessary cancel commands in vim mode cut functions 2025-02-12 21:52:07 +00: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
triangularLuna
b009d1a23a fix: remove 'jk' keybinding in insert mode 2025-02-12 19:06:54 +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
b516709594 feat(vim): enhance cut and delete commands in vim mode (still missing cut functionality in delete to end) 2025-02-11 15:44:15 +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
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
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
f9f57a6616 feat(vim): update selection mode to inclusive for NORMAL and VISUAL keybindings 2025-02-02 17:09:11 +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
4b8ba080d7 feat(vim): added visual mode movement keybindings to json 2025-02-02 02:05:43 +00:00
386094001d
fix(vim-mode): prefer smart_move_begin of vim normal mode 'I' binding 2025-01-19 14:17:29 +01:00
e705d4ba01
fix(vim-mode): vim-mode bindings to enter insert mode 2025-01-19 14:15:44 +01:00
70c4c78138
feat(vim-mode): simplify vim mode bindings 2025-01-19 14:04:33 +01:00
9f29853cd6
Merge pull request #149 from travisstaloch/lsp-rename
implement lsp rename
2025-01-18 23:33:25 +01:00
e1b1591167
feat(win32 gui): add font selection palette
closes #102
2025-01-17 20:32:20 +01:00
Travis Staloch
860c36266c
keybinds: changes related to lsp rename
* vim mode: bind 'grn' to rename_symbol
* flow mode: bind F4 to toggle_input_mode
2025-01-16 22:04:38 +01:00
0abb21a400
fix: add down level ':' keybindings to vim and helix modes
This is for terminals that don't send modifiers at all.
2024-12-12 16:57:16 +01:00
f8dff2a7bb
feat: render home screen based on current input mode 2024-12-05 19:48:17 +01:00
6b77b51266
fix: type in vim.json 2024-12-03 23:11:32 +01:00
3b8982ac26
feat: move all keybind mode related options to keybind config 2024-12-03 23:04:10 +01:00