Rename sub_mode to submode
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
a7a52ef3f7
commit
328be473e5
@@ -6,7 +6,7 @@ use crate::{mode::Mode, SwitchMode, VimState};
|
||||
action!(MoveToStart);
|
||||
|
||||
pub fn init(cx: &mut MutableAppContext) {
|
||||
let context = Some("Editor && vim_mode == normal && vim_sub_mode == g");
|
||||
let context = Some("Editor && vim_mode == normal && vim_submode == g");
|
||||
cx.add_bindings(vec![
|
||||
Binding::new("g", MoveToStart, context),
|
||||
Binding::new("escape", SwitchMode(Mode::normal()), context),
|
||||
|
||||
Reference in New Issue
Block a user