pub enum Cmd {
Show 34 variants
Abort,
AcceptLine,
BeginningOfHistory,
CapitalizeWord,
ClearScreen,
Complete,
DowncaseWord,
EndOfFile,
EndOfHistory,
ForwardSearchHistory,
HistorySearchBackward,
HistorySearchForward,
Insert(RepeatCount, String),
Interrupt,
Kill(Movement),
Move(Movement),
NextHistory,
Noop,
Overwrite(char),
PreviousHistory,
QuotedInsert,
ReplaceChar(RepeatCount, char),
Replace(Movement, Option<String>),
ReverseSearchHistory,
SelfInsert(RepeatCount, char),
Suspend,
TransposeChars,
TransposeWords(RepeatCount),
Undo(RepeatCount),
Unknown,
UpcaseWord,
ViYankTo(Movement),
Yank(RepeatCount, Anchor),
YankPop,
}
Expand description
Commands #[non_exhaustive]
Variants§
Abort
abort
AcceptLine
accept-line
BeginningOfHistory
beginning-of-history
CapitalizeWord
capitalize-word
ClearScreen
clear-screen
Complete
complete
DowncaseWord
downcase-word
EndOfFile
vi-eof-maybe
EndOfHistory
end-of-history
ForwardSearchHistory
forward-search-history
HistorySearchBackward
history-search-backward
HistorySearchForward
history-search-forward
Insert(RepeatCount, String)
Interrupt
Kill(Movement)
backward-delete-char, backward-kill-line, backward-kill-word delete-char, kill-line, kill-word, unix-line-discard, unix-word-rubout, vi-delete, vi-delete-to, vi-rubout
Move(Movement)
backward-char, backward-word, beginning-of-line, end-of-line, forward-char, forward-word, vi-char-search, vi-end-word, vi-next-word, vi-prev-word
NextHistory
next-history
Noop
Overwrite(char)
vi-replace
PreviousHistory
previous-history
QuotedInsert
quoted-insert
ReplaceChar(RepeatCount, char)
vi-change-char
Replace(Movement, Option<String>)
vi-change-to, vi-substitute
ReverseSearchHistory
reverse-search-history
SelfInsert(RepeatCount, char)
self-insert
Suspend
TransposeChars
transpose-chars
TransposeWords(RepeatCount)
transpose-words
Undo(RepeatCount)
undo
Unknown
UpcaseWord
upcase-word
ViYankTo(Movement)
vi-yank-to
Yank(RepeatCount, Anchor)
yank, vi-put
YankPop
yank-pop
Implementations§
Trait Implementations§
impl StructuralPartialEq for Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)