pub enum TextObjectKind {
Word,
BigWord,
Sentence,
Paragraph,
Delimited {
open: char,
close: char,
},
Quote(char),
}Expand description
The unit to select around the current cursor.
Variants§
Word
Select a word using Vimlet’s word-character classes (w).
BigWord
Select a run of non-whitespace characters (W).
Sentence
Select a sentence (s).
Paragraph
Select a paragraph as a linewise range (p).
Delimited
Select text between a matching pair of delimiters, allowing nesting.
Quote(char)
Select text between two occurrences of the supplied quote character.
Implementations§
Trait Implementations§
Source§impl Clone for TextObjectKind
impl Clone for TextObjectKind
impl Copy for TextObjectKind
Source§impl Debug for TextObjectKind
impl Debug for TextObjectKind
impl Eq for TextObjectKind
Source§impl PartialEq for TextObjectKind
impl PartialEq for TextObjectKind
impl StructuralPartialEq for TextObjectKind
Auto Trait Implementations§
impl Freeze for TextObjectKind
impl RefUnwindSafe for TextObjectKind
impl Send for TextObjectKind
impl Sync for TextObjectKind
impl Unpin for TextObjectKind
impl UnsafeUnpin for TextObjectKind
impl UnwindSafe for TextObjectKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more