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:
parent
3eac83eece
commit
5548773b2e
6 changed files with 168 additions and 3 deletions
|
@ -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~",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue