pub enum ViAction {
ToggleNormalSelection,
ToggleLineSelection,
ToggleBlockSelection,
ToggleSemanticSelection,
SearchNext,
SearchPrevious,
SearchStart,
SearchEnd,
Open,
CenterAroundViCursor,
}
Expand description
Vi mode specific actions.
Variants§
ToggleNormalSelection
Toggle normal vi selection.
ToggleLineSelection
Toggle line vi selection.
ToggleBlockSelection
Toggle block vi selection.
ToggleSemanticSelection
Toggle semantic vi selection.
SearchNext
Jump to the beginning of the next match.
SearchPrevious
Jump to the beginning of the previous match.
SearchStart
Jump to the next start of a match to the left of the origin.
SearchEnd
Jump to the next end of a match to the right of the origin.
Open
Launch the URL below the vi mode cursor.
CenterAroundViCursor
Centers the screen around the vi mode cursor.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ViAction
impl<'de> Deserialize<'de> for ViAction
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ViAction> for ViAction
impl PartialEq<ViAction> for ViAction
source§impl SerdeReplace for ViAction
impl SerdeReplace for ViAction
impl Copy for ViAction
impl Eq for ViAction
impl StructuralEq for ViAction
impl StructuralPartialEq for ViAction
Auto Trait Implementations§
impl RefUnwindSafe for ViAction
impl Send for ViAction
impl Sync for ViAction
impl Unpin for ViAction
impl UnwindSafe for ViAction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.