Add a basic helix match operator
This commit is contained in:
parent
1f3575ad6e
commit
05bc741eaf
6 changed files with 51 additions and 7 deletions
|
@ -7,6 +7,7 @@ mod paste;
|
|||
pub(crate) mod repeat;
|
||||
mod scroll;
|
||||
pub(crate) mod search;
|
||||
mod select;
|
||||
pub mod substitute;
|
||||
mod toggle_comments;
|
||||
pub(crate) mod yank;
|
||||
|
@ -362,6 +363,7 @@ impl Vim {
|
|||
self.replace_with_register_object(object, around, window, cx)
|
||||
}
|
||||
Some(Operator::Exchange) => self.exchange_object(object, around, window, cx),
|
||||
Some(Operator::HelixMatch) => self.select_object(object, around, window, cx),
|
||||
_ => {
|
||||
// Can't do anything for namespace operators. Ignoring
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue