vim: Replace with Register (#24326)
Closes #18813 Release Notes: - vim: Add `gr` for [replace with register](https://github.com/vim-scripts/ReplaceWithRegister)
This commit is contained in:
parent
d83c316e6d
commit
8646d37c0c
5 changed files with 120 additions and 1 deletions
|
@ -111,6 +111,7 @@ pub enum Operator {
|
|||
RecordRegister,
|
||||
ReplayRegister,
|
||||
ToggleComments,
|
||||
ReplaceWithRegister,
|
||||
}
|
||||
|
||||
#[derive(Default, Clone, Debug)]
|
||||
|
@ -499,6 +500,7 @@ impl Operator {
|
|||
Operator::AutoIndent => "eq",
|
||||
Operator::ShellCommand => "sh",
|
||||
Operator::Rewrap => "gq",
|
||||
Operator::ReplaceWithRegister => "gr",
|
||||
Operator::Outdent => "<",
|
||||
Operator::Uppercase => "gU",
|
||||
Operator::Lowercase => "gu",
|
||||
|
@ -551,6 +553,7 @@ impl Operator {
|
|||
| Operator::ShellCommand
|
||||
| Operator::Lowercase
|
||||
| Operator::Uppercase
|
||||
| Operator::ReplaceWithRegister
|
||||
| Operator::Object { .. }
|
||||
| Operator::ChangeSurrounds { target: None }
|
||||
| Operator::OppositeCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue