diff options
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 5c48b1b..3cfd7de 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -479,7 +479,7 @@ Type ".help" for additional help. } fn create_edit_mode(config: &GlobalConfig) -> Box<dyn EditMode> { - let edit_mode: Box<dyn EditMode> = if config.read().keybindings.is_vi() { + let edit_mode: Box<dyn EditMode> = if config.read().keybindings == "vi" { let mut normal_keybindings = default_vi_normal_keybindings(); let mut insert_keybindings = default_vi_insert_keybindings(); Self::extra_keybindings(&mut normal_keybindings); |
