vim: Add == and fix = in the status bar (#21490)
cc @maxbrunsfeld Release Notes: - vim: Add ==
This commit is contained in:
@@ -489,6 +489,13 @@
|
||||
"<": "vim::CurrentLine"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_operator == eq",
|
||||
"use_layout_keys": true,
|
||||
"bindings": {
|
||||
"=": "vim::CurrentLine"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_operator == gc",
|
||||
"use_layout_keys": true,
|
||||
|
||||
@@ -487,6 +487,7 @@ impl Operator {
|
||||
Operator::Literal {
|
||||
prefix: Some(prefix),
|
||||
} => format!("^V{prefix}"),
|
||||
Operator::AutoIndent => "=".to_string(),
|
||||
_ => self.id().to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user