1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-10-27 05:32:54 -04:00
alacritty/extra/man/alacritty-bindings.5.scd
Christian Duerr bd4906722a
Switch to TOML configuration format
This switches Alacritty's default configuration format from yaml to
toml. While yaml is still supported, it is done by converting it to toml
and should be removed entirely in the future.

All existing features were persisted based on my testing. Behavior
should not change much, though `--option` might have slightly different
behavior since the entire line is not interpreted as one line of toml.

A new `alacritty migrate` subcommand has been added which allows
automatic migration from yaml to toml. This also could be used as a
facility to automatically fix configuration file changes in the future.

Closes #6592.
2023-06-12 00:23:41 +00:00

478 lines
6.4 KiB
Markdown

ALACRITTY-BINDINGS(5)
# NAME
Alacritty Bindings - Default configuration file bindings
# SYNOPSIS
This page documents all key and mouse bindings for the default Alacritty
configuration. See *alacritty*(5) for full configuration format documentation.
# Mouse Bindings
[[ *mouse*
:[ *mods*
:[ *action*
| _"Right"_
:[
: _"ExpandSelection"_
| _"Right"_
: _"Control"_
: _"ExpandSelection"_
| _"Middle"_
: _"~Vi"_
: _"PasteSelection"_
# Key Bindings
[[ *key*
:[ *mods*
:[ *mode*
:[ *action* / *chars*
| _"Paste"_
:[
:[
: _"Paste"_
| _"Copy"_
:[
:[
: _"Copy"_
| _"L"_
: _"Control"_
:[
: _"ClearLogNotice"_
| _"L"_
: _"Control"_
: _"~Vi|~Search"_
: *chars*: _"\\u000c"_
| _"PageUp"_
: _"Shift"_
: _"~Alt"_
: _"ScrollPageUp"_
| _"PageDown"_
: _"Shift"_
: _"~Alt"_
: _"ScrollPageDown"_
| _"Home"_
: _"Shift"_
: _"~Alt"_
: _"ScrollToTop"_
| _"End"_
: _"Shift"_
: _"~Alt"_
: _"ScrollToBottom"_
## Vi Mode
[[ *key*
:[ *mods*
:[ *mode*
:[ *action*
| _"Space"_
: _"Shift|Control"_
: _"~Search"_
: _"ToggleViMode"_
| _"Space"_
: _"Shift|Control"_
: _"Vi|~Search"_
: _"ScrollToBottom"_
| _"Escape"_
:[
: _"Vi|~Search"_
: _"ClearSelection"_
| _"I"_
:[
: _"Vi|~Search"_
: _"ToggleViMode"_
| _"I"_
:[
: _"Vi|~Search"_
: _"ScrollToBottom"_
| _"C"_
: _"Control"_
: _"Vi|~Search"_
: _"ToggleViMode"_
| _"Y"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollLineUp"_
| _"E"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollLineDown"_
| _"G"_
:[
: _"Vi|~Search"_
: _"ScrollToTop"_
| _"G"_
: _"Shift"_
: _"Vi|~Search"_
: _"ScrollToBottom"_
| _"B"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollPageUp"_
| _"F"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollPageDown"_
| _"U"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollHalfPageUp"_
| _"D"_
: _"Control"_
: _"Vi|~Search"_
: _"ScrollHalfPageDown"_
| _"Y"_
:[
: _"Vi|~Search"_
: _"Copy"_
| _"Y"_
:[
: _"Vi|~Search"_
: _"ClearSelection"_
| _"Copy"_
:[
: _"Vi|~Search"_
: _"ClearSelection"_
| _"V"_
:[
: _"Vi|~Search"_
: _"ToggleNormalSelection"_
| _"V"_
: _"Shift"_
: _"Vi|~Search"_
: _"ToggleLineSelection"_
| _"V"_
: _"Control"_
: _"Vi|~Search"_
: _"ToggleBlockSelection"_
| _"V"_
: _"Alt"_
: _"Vi|~Search"_
: _"ToggleSemanticSelection"_
| _"Return"_
:[
: _"Vi|~Search"_
: _"Open"_
| _"Z"_
:[
: _"Vi|~Search"_
: _"CenterAroundViCursor"_
| _"K"_
:[
: _"Vi|~Search"_
: _"Up"_
| _"J"_
:[
: _"Vi|~Search"_
: _"Down"_
| _"H"_
:[
: _"Vi|~Search"_
: _"Left"_
| _"L"_
:[
: _"Vi|~Search"_
: _"Right"_
| _"Up"_
:[
: _"Vi|~Search"_
: _"Up"_
| _"Down"_
:[
: _"Vi|~Search"_
: _"Down"_
| _"Left"_
:[
: _"Vi|~Search"_
: _"Left"_
| _"Right"_
:[
: _"Vi|~Search"_
: _"Right"_
| _"Key0"_
:[
: _"Vi|~Search"_
: _"First"_
| _"Key4"_
: _"Shift"_
: _"Vi|~Search"_
: _"Last"_
| _"Key6"_
: _"Shift"_
: _"Vi|~Search"_
: _"FirstOccupied"_
| _"H"_
: _"Shift"_
: _"Vi|~Search"_
: _"High"_
| _"M"_
: _"Shift"_
: _"Vi|~Search"_
: _"Middle"_
| _"L"_
: _"Shift"_
: _"Vi|~Search"_
: _"Low"_
| _"B"_
:[
: _"Vi|~Search"_
: _"SemanticLeft"_
| _"W"_
:[
: _"Vi|~Search"_
: _"SemanticRight"_
| _"E"_
:[
: _"Vi|~Search"_
: _"SemanticRightEnd"_
| _"B"_
: _"Shift"_
: _"Vi|~Search"_
: _"WordLeft"_
| _"W"_
: _"Shift"_
: _"Vi|~Search"_
: _"WordRight"_
| _"E"_
: _"Shift"_
: _"Vi|~Search"_
: _"WordRightEnd"_
| _"Key5"_
: _"Shift"_
: _"Vi|~Search"_
: _"Bracket"_
| _"Slash"_
:[
: _"Vi|~Search"_
: _"SearchForward"_
| _"Slash"_
: _"Shift"_
: _"Vi|~Search"_
: _"SearchBackward"_
| _"N"_
:[
: _"Vi|~Search"_
: _"SearchNext"_
| _"N"_
: _"Shift"_
: _"Vi|~Search"_
: _"SearchPrevious"_
## Search Mode
[[ *key*
:[ *mods*
:[ *mode*
:[ *action*
| _"Return"_
:[
: _"Search|Vi"_
: _"SearchConfirm"_
| _"Escape"_
:[
: _"Search"_
: _"SearchCancel"_
| _"C"_
: _"Control"_
: _"Search"_
: _"SearchCancel"_
| _"U"_
: _"Control"_
: _"Search"_
: _"SearchClear"_
| _"W"_
: _"Control"_
: _"Search"_
: _"SearchDeleteWord"_
| _"P"_
: _"Control"_
: _"Search"_
: _"SearchHistoryPrevious"_
| _"N"_
: _"Control"_
: _"Search"_
: _"SearchHistoryNext"_
| _"Up"_
:[
: _"Search"_
: _"SearchHistoryPrevious"_
| _"Down"_
:[
: _"Search"_
: _"SearchHistoryNext"_
| _"Return"_
:[
: _"Search|~Vi"_
: _"SearchFocusNext"_
## Windows, Linux, and BSD only
[[ *key*
:[ *mods*
:[ *mode*
:[ *action*
| _"V"_
: _"Control|Shift"_
: _"~Vi"_
: _"Paste"_
| _"C"_
: _"Control|Shift"_
:[
: _"Copy"_
| _"F"_
: _"Control|Shift"_
: _"~Search"_
: _"SearchForward"_
| _"B"_
: _"Control|Shift"_
: _"~Search"_
: _"SearchBackward"_
| _"C"_
: _"Control|Shift"_
: _"Vi|~Search"_
: _"ClearSelection"_
| _"Insert"_
: _"Shift"_
:[
: _"PasteSelection"_
| _"Key0"_
: _"Control"_
:[
: _"ResetFontSize"_
| _"Equals"_
: _"Control"_
:[
: _"IncreaseFontSize"_
| _"Plus"_
: _"Control"_
:[
: _"IncreaseFontSize"_
| _"NumpadAdd"_
: _"Control"_
:[
: _"IncreaseFontSize"_
| _"Minus"_
: _"Control"_
:[
: _"DecreaseFontSize"_
| _"NumpadSubtract"_
: _"Control"_
:[
: _"DecreaseFontSize"_
## Windows only
[[ *key*
:[ *mods*
:[ *mode*
:[ *action*
| _"Return"_
: _"Alt"_
:[
: _"ToggleFullscreen"_
## macOS only
[[ *key*
:[ *mods*
:[ *mode*
:[ *action* / *chars*
| _"K"_
: _"Command"_
: _"~Vi|~Search"_
: *chars*: _"\\u000c"_
| _"K"_
: _"Command"_
: _"~Vi|~Search"_
: _"ClearHistory"_
| _"Key0"_
: _"Command"_
:[
: _"ResetFontSize"_
| _"Equals"_
: _"Command"_
:[
: _"IncreaseFontSize"_
| _"Plus"_
: _"Command"_
:[
: _"IncreaseFontSize"_
| _"NumpadAdd"_
: _"Command"_
:[
: _"IncreaseFontSize"_
| _"Minus"_
: _"Command"_
:[
: _"DecreaseFontSize"_
| _"NumpadSubtract"_
: _"Command"_
:[
: _"DecreaseFontSize"_
| _"V"_
: _"Command"_
:[
: _"Paste"_
| _"C"_
: _"Command"_
:[
: _"Copy"_
| _"C"_
: _"Command"_
: _"Vi|~Search"_
: _"ClearSelection"_
| _"H"_
: _"Command"_
:[
: _"Hide"_
| _"H"_
: _"Command|Alt"_
:[
: _"HideOtherApplications"_
| _"M"_
: _"Command"_
:[
: _"Minimize"_
| _"Q"_
: _"Command"_
:[
: _"Quit"_
| _"W"_
: _"Command"_
:[
: _"Quit"_
| _"N"_
: _"Command"_
:[
: _"CreateNewWindow"_
| _"F"_
: _"Command|Control"_
:[
: _"ToggleFullscreen"_
| _"F"_
: _"Command"_
: _"~Search"_
: _"SearchForward"_
| _"B"_
: _"Command"_
: _"~Search"_
: _"SearchBackward"_
# SEE ALSO
See the alacritty github repository at https://github.com/alacritty/alacritty
for the full documentation.
# BUGS
Found a bug? Please report it at https://github.com/alacritty/alacritty/issues.
# MAINTAINERS
- Christian Duerr <contact@christianduerr.com>
- Kirill Chibisov <contact@kchibisov.com>