Enum Movement
#[non_exhaustive]
pub enum Movement
Where to move
Variants
-
WholeLine Whole current line (not really a movement but a range)
-
BeginningOfLine beginning-of-line
-
EndOfLine end-of-line
-
BackwardWord(RepeatCount, Word) backward-word, vi-prev-word
-
ForwardWord(RepeatCount, At, Word) forward-word, vi-end-word, vi-next-word
-
ViCharSearch(RepeatCount, CharSearch) character-search, character-search-backward, vi-char-search
-
ViFirstPrint vi-first-print
-
BackwardChar(RepeatCount) backward-char
-
ForwardChar(RepeatCount) forward-char
-
LineUp(RepeatCount) move to the same column on the previous line
-
LineDown(RepeatCount) move to the same column on the next line
-
WholeBuffer Whole user input (not really a movement but a range)
-
BeginningOfBuffer beginning-of-buffer
-
EndOfBuffer end-of-buffer
Trait Implementations
impl Clone for Movement
fn clone(&self) -> Self
impl Debug for Movement
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Movement
impl PartialEq for Movement
fn eq(&self, other: &Self) -> bool