vim: Add == and fix = in the status bar (#21490)
cc @maxbrunsfeld Release Notes: - vim: Add ==
This commit is contained in:
parent
1fccda7b8d
commit
db34f29300
2 changed files with 8 additions and 0 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue