vim: Add gU/gu/g~ (#12782)

Co-Authored-By: ethanmsl@gmail.com

Release Notes:

- vim: Added `gu`/`gU`/`g~` for changing case. (#12565)
This commit is contained in:
Conrad Irwin 2024-06-07 12:38:12 -06:00 committed by GitHub
parent 3eac83eece
commit 5548773b2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 168 additions and 3 deletions

View file

@ -63,6 +63,10 @@ pub enum Operator {
Jump { line: bool },
Indent,
Outdent,
Lowercase,
Uppercase,
OppositeCase,
}
#[derive(Default, Clone)]
@ -270,6 +274,9 @@ impl Operator {
Operator::Jump { line: false } => "`",
Operator::Indent => ">",
Operator::Outdent => "<",
Operator::Uppercase => "gU",
Operator::Lowercase => "gu",
Operator::OppositeCase => "g~",
}
}