Enum alacritty::config::bindings::Action [−][src]
pub enum Action {
Show 36 variants
Esc(String),
Command(Program),
Hint(Hint),
ViMotion(ViMotion),
Vi(ViAction),
Search(SearchAction),
Mouse(MouseAction),
Paste,
Copy,
CopySelection,
PasteSelection,
IncreaseFontSize,
DecreaseFontSize,
ResetFontSize,
ScrollPageUp,
ScrollPageDown,
ScrollHalfPageUp,
ScrollHalfPageDown,
ScrollLineUp,
ScrollLineDown,
ScrollToTop,
ScrollToBottom,
ClearHistory,
Hide,
Minimize,
Quit,
ClearLogNotice,
SpawnNewInstance,
CreateNewWindow,
ToggleFullscreen,
ClearSelection,
ToggleViMode,
ReceiveChar,
SearchForward,
SearchBackward,
None,
}Variants
Esc(String)
Tuple Fields
0: StringWrite an escape sequence.
Command(Program)
Tuple Fields
0: ProgramRun given command.
Hint(Hint)
Tuple Fields
0: HintRegex keyboard hints.
ViMotion(ViMotion)
Tuple Fields
0: ViMotionMove vi mode cursor.
Vi(ViAction)
Tuple Fields
0: ViActionPerform vi mode action.
Search(SearchAction)
Tuple Fields
0: SearchActionPerform search mode action.
Mouse(MouseAction)
Tuple Fields
0: MouseActionPerform mouse binding exclusive 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.
CreateNewWindow
Create a new Alacritty window.
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
fn toggle_selection<T, A>(ctx: &mut A, ty: SelectionType) where
A: ActionContext<T>,
T: EventListener,
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Display trait used for error logging.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Action
impl !UnwindSafe for Action
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.