editor mode in editor.rs

Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
This commit is contained in:
Smit Barmase 2025-08-21 22:47:32 +05:30
parent 854b7e104e
commit 57a0bb327d
No known key found for this signature in database
10 changed files with 89 additions and 18 deletions

View file

@ -1495,7 +1495,7 @@ pub fn load_default_keymap(cx: &mut App) {
if matches!(
EditorModeSetting::get_global(cx).0,
EditorMode::Vim | EditorMode::Helix
EditorMode::Vim | EditorMode::Helix | EditorMode::VimInsert
) {
cx.bind_keys(
KeymapFile::load_asset(VIM_KEYMAP_PATH, Some(KeybindSource::Vim), cx).unwrap(),