Attempt to fix go to the end of the line when using helix mode (#41575)

Closes #41550

Release Notes:

- Fixed `<g-l>` behavior in helix mode which will now correctly go to the last charactor of the line.
- Fixed not switching to helix normal mode when in default vim context and pressing escape.

---------

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
HuaGu-Dragon
2025-11-24 17:32:30 +01:00
committed by GitHub
co-authored by Jakub Konka
parent ea7568ceb3
commit 47e8946581
2 changed files with 82 additions and 1 deletions
+2 -1
View File
@@ -414,8 +414,9 @@
}
},
{
"context": "vim_mode == helix_normal && !menu",
"context": "VimControl && vim_mode == helix_normal && !menu",
"bindings": {
"escape": "vim::SwitchToHelixNormalMode",
"i": "vim::HelixInsert",
"a": "vim::HelixAppend",
"ctrl-[": "editor::Cancel"