mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
vim: Add == and fix = in the status bar (#21490)
cc @maxbrunsfeld Release Notes: - vim: Add ==
This commit is contained in:
parent
1d512ffaba
commit
bc332aa0fa
2 changed files with 8 additions and 0 deletions
|
@ -474,6 +474,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…
Reference in a new issue