editor mode in editor.rs
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
This commit is contained in:
parent
854b7e104e
commit
57a0bb327d
10 changed files with 89 additions and 18 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue