[][src]Enum alacritty::config::bindings::Action

pub enum Action {
    Esc(String),
    Command(Program),
    ViMotion(ViMotion),
    ViAction(ViAction),
    SearchAction(SearchAction),
    Paste,
    Copy,
    CopySelection,
    PasteSelection,
    IncreaseFontSize,
    DecreaseFontSize,
    ResetFontSize,
    ScrollPageUp,
    ScrollPageDown,
    ScrollHalfPageUp,
    ScrollHalfPageDown,
    ScrollLineUp,
    ScrollLineDown,
    ScrollToTop,
    ScrollToBottom,
    ClearHistory,
    Hide,
    Minimize,
    Quit,
    ClearLogNotice,
    SpawnNewInstance,
    ToggleFullscreen,
    ClearSelection,
    ToggleViMode,
    ReceiveChar,
    SearchForward,
    SearchBackward,
    None,
}

Variants

Esc(String)

Write an escape sequence.

Command(Program)

Run given command.

ViMotion(ViMotion)

Move vi mode cursor.

ViAction(ViAction)

Perform vi mode action.

SearchAction(SearchAction)

Perform search mode action.

Paste

Paste contents of system clipboard.

Copy

Store current selection into clipboard.

CopySelection

Store current selection into selection buffer.

PasteSelection

Paste contents of selection buffer.

IncreaseFontSize

Increase font size.

DecreaseFontSize

Decrease font size.

ResetFontSize

Reset font size to the config value.

ScrollPageUp

Scroll exactly one page up.

ScrollPageDown

Scroll exactly one page down.

ScrollHalfPageUp

Scroll half a page up.

ScrollHalfPageDown

Scroll half a page down.

ScrollLineUp

Scroll one line up.

ScrollLineDown

Scroll one line down.

ScrollToTop

Scroll all the way to the top.

ScrollToBottom

Scroll all the way to the bottom.

ClearHistory

Clear the display buffer(s) to remove history.

Hide

Hide the Alacritty window.

Minimize

Minimize the Alacritty window.

Quit

Quit Alacritty.

ClearLogNotice

Clear warning and error notices.

SpawnNewInstance

Spawn a new instance of Alacritty.

ToggleFullscreen

Toggle fullscreen.

ClearSelection

Clear active selection.

ToggleViMode

Toggle vi mode.

ReceiveChar

Allow receiving char input.

SearchForward

Start a forward buffer search.

SearchBackward

Start a backward buffer search.

None

No action.

Implementations

impl Action[src]

fn toggle_selection<T, A>(ctx: &mut A, ty: SelectionType) where
    T: EventListener,
    A: ActionContext<T>, 
[src]

Trait Implementations

impl Clone for Action[src]

impl Debug for Action[src]

impl<'de> Deserialize<'de> for Action[src]

impl Display for Action[src]

Display trait used for error logging.

impl Eq for Action[src]

impl<T: EventListener> Execute<T> for Action[src]

impl From<&'static str> for Action[src]

impl From<SearchAction> for Action[src]

impl From<ViAction> for Action[src]

impl From<ViMotion> for Action[src]

impl PartialEq<Action> for Action[src]

impl StructuralEq for Action[src]

impl StructuralPartialEq for Action[src]

Auto Trait Implementations

impl RefUnwindSafe for Action

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.