vim: Add == and fix = in the status bar (#21490)

cc @maxbrunsfeld

Release Notes:

- vim: Add ==
This commit is contained in:
Conrad Irwin
2024-12-03 14:18:19 -07:00
committed by GitHub
parent 1fccda7b8d
commit db34f29300
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -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,
+1
View File
@@ -487,6 +487,7 @@ impl Operator {
Operator::Literal {
prefix: Some(prefix),
} => format!("^V{prefix}"),
Operator::AutoIndent => "=".to_string(),
_ => self.id().to_string(),
}
}