diff options
author | Christian Duerr <contact@christianduerr.com> | 2023-06-12 02:23:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 00:23:41 +0000 |
commit | bd4906722a1a026b01f06c94c33b13ff63a7e044 (patch) | |
tree | a2713a7b0a5fa23ec8b9055d7ed06f1cede62447 /extra/man/alacritty-bindings.5.scd | |
parent | ea2c39e65d21728e0f04b0eafcec7153e4447cd5 (diff) | |
download | alacritty-bd4906722a1a026b01f06c94c33b13ff63a7e044.tar.gz alacritty-bd4906722a1a026b01f06c94c33b13ff63a7e044.zip |
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.
Diffstat (limited to 'extra/man/alacritty-bindings.5.scd')
-rw-r--r-- | extra/man/alacritty-bindings.5.scd | 478 |
1 files changed, 478 insertions, 0 deletions
diff --git a/extra/man/alacritty-bindings.5.scd b/extra/man/alacritty-bindings.5.scd new file mode 100644 index 00000000..2db753b1 --- /dev/null +++ b/extra/man/alacritty-bindings.5.scd @@ -0,0 +1,478 @@ +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> |