Last active
October 20, 2024 16:10
-
-
Save yasunori0418/dd7890cd2fc7c95975dc1fb5d38b5273 to your computer and use it in GitHub Desktop.
This is the content of the default configuration file created based on the `alacritty 0.13.2` manual. The content of the settings is the state of the Linux user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import = [] | |
# shell = "Your login shell" ## Linux/BSD/macOS | |
# shell = "powershell" ## Windows | |
working_directory = "None" | |
live_config_reload = true | |
ipc_socket = true | |
# [env] | |
[window] | |
dimensions = { columns = 0, lines = 0 } | |
position = "None" | |
padding = { x = 0, y = 0 } | |
dynamic_padding = false | |
decorations = "Full" | |
opacity = 1.0 | |
blur = false | |
startup_mode = "Windowed" | |
title = "Alacritty" | |
dynamic_title = true | |
class = { instance = "Alacritty", general = "Alacritty" } | |
decorations_theme_variant = "None" | |
resize_increments = false | |
option_as_alt = "None" | |
[scrolling] | |
history = 10000 | |
multiplier = 3 | |
[font] | |
normal = { family = "monospace", style = "Regular" } ## Linux/BSD | |
# normal = { family = "Menlo", style = "Regular" } ## macOS | |
# normal = { family = "Consolas", style = "Regular" } ## Windows | |
bold = { style = "Bold" } | |
italic = { style = "Italic" } | |
bold_italic = { style = "Bold Italic" } | |
size = 11.25 | |
offset = { x = 0, y = 0 } | |
# glyph_offset = { x = <integer>, y = <integer> } | |
builtin_box_drawing = true | |
[colors] | |
cursor = { text = "CellBackground", cursor = "CellForeground" } | |
vi_mode_cursor = { text = "CellBackground", cursor = "CellForeground" } | |
line_indicator = { foreground = "None", background = "None" } | |
footer_bar = { foreground = "#181818", background = "#d8d8d8" } | |
selection = { text = "CellBackground", background = "CellForeground" } | |
indexed_colors = [] | |
transparent_background_colors = false | |
draw_bold_text_with_bright_colors = false | |
[colors.primary] | |
foreground = "#d8d8d8" | |
background = "#181818" | |
dim_foreground = "#828482" | |
bright_foreground = "None" | |
[colors.normal] | |
black = "#181818" | |
red = "#ac4242" | |
green = "#90a959" | |
yellow = "#f4bf75" | |
blue = "#6a9fb5" | |
magenta = "#aa759f" | |
cyan = "#75b5aa" | |
white = "#d8d8d8" | |
[colors.bright] | |
black = "#6b6b6b" | |
red = "#c55555" | |
green = "#aac474" | |
yellow = "#feca88" | |
blue = "#82b8c8" | |
magenta = "#c28cb8" | |
cyan = "#93d3c3" | |
white = "#f8f8f8" | |
[colors.dim] | |
black = "#0f0f0f" | |
red = "#712b2b" | |
green = "#5f6f3a" | |
yellow = "#a17e4d" | |
blue = "#456877" | |
magenta = "#704d68" | |
cyan = "#4d7770" | |
white = "#8e8e8e" | |
[colors.search] | |
matches = { foreground = "#181818", background = "#ac4242" } | |
focused_match = { foreground = "#181818", background = "#f4bf75" } | |
[colors.hints] | |
start = { foreground = "#181818", background = "#f4bf75" } | |
end = { foreground = "#181818", background = "#ac4242" } | |
[bell] | |
animation = "Linear" | |
duration = 0 | |
color = "#ffffff" | |
command = "None" | |
[selection] | |
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t" | |
save_to_clipboard = false | |
[cursor] | |
vi_mode_style = "None" | |
blink_interval = 750 | |
blink_timeout = 5 | |
unfocused_hollow = true | |
thickness = 0.15 | |
[cursor.style] | |
shape = "Block" | |
blinking = "Off" | |
[terminal] | |
osc52 = "OnlyCopy" | |
[mouse] | |
hide_when_typing = false | |
[[mouse.bindings]] | |
mouse = "Right" | |
action = "ExpandSelection" | |
[[mouse.bindings]] | |
mouse = "Right" | |
mods = "Control" | |
action = "ExpandSelection" | |
[[mouse.bindings]] | |
mouse = "Right" | |
mode = "~Vi" | |
action = "PasteSelection" | |
[hints] | |
alphabet = "jfkdls;ahgurieowpq" | |
[[hints.enabled]] | |
command = "xdg-open" # On Linux/BSD | |
# command = "open" # On macOS | |
# command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows | |
hyperlinks = true | |
post_processing = true | |
persist = false | |
mouse.enabled = true | |
binding = { key = "U", mods = "Control|Shift" } | |
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "Paste" | |
action = "Paste" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "Copy" | |
action = "Copy" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "L" | |
mods = "Control" | |
action = "ClearLogNotice" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "Paste" | |
mode = "Vi|Search" | |
action = "Paste" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "PageUp" | |
mods = "Shift" | |
mode = "~Alt" | |
action = "ScrollPageUp" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "PageDown" | |
mods = "Shift" | |
mode = "~Alt" | |
action = "ScrollPageDown" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "Home" | |
mods = "Shift" | |
mode = "~Alt" | |
action = "ScrollToTop" | |
[[keyboard.bindings]] ## Basic key bindings | |
key = "End" | |
mods = "Shift" | |
mode = "~Alt" | |
action = "ScrollToBottom" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Space" | |
mods = "Shift|Control" | |
mode = "~Search" | |
action = "ToggleViMode" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Space" | |
mods = "Shift|Control" | |
mode = "Vi|~Search" | |
action = "ScrollToBottom" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Escape" | |
mode = "Vi|~Search" | |
action = "ClearSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "I" | |
mode = "Vi|~Search" | |
action = "ToggleViMode" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "I" | |
mode = "Vi|~Search" | |
action = "ScrollToBottom" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "C" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ToggleViMode" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Y" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollLineUp" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "E" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollLineDown" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "G" | |
mode = "Vi|~Search" | |
action = "ScrollToTop" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "G" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "ScrollToBottom" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "B" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollPageUp" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "F" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollPageDown" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "U" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollHalfPageUp" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "D" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ScrollHalfPageDown" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Y" | |
mode = "Vi|~Search" | |
action = "Copy" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Y" | |
mode = "Vi|~Search" | |
action = "ClearSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Copy" | |
mode = "Vi|~Search" | |
action = "ClearSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "V" | |
mode = "Vi|~Search" | |
action = "ToggleNormalSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "V" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "ToggleLineSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "V" | |
mods = "Control" | |
mode = "Vi|~Search" | |
action = "ToggleBlockSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "V" | |
mods = "Alt" | |
mode = "Vi|~Search" | |
action = "ToggleSemanticSelection" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Enter" | |
mode = "Vi|~Search" | |
action = "Open" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Z" | |
mode = "Vi|~Search" | |
action = "CenterAroundViCursor" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "F" | |
mode = "Vi|~Search" | |
action = "InlineSearchForward" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "F" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "InlineSearchBackward" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "T" | |
mode = "Vi|~Search" | |
action = "InlineSearchForwardShort" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "T" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "InlineSearchBackwardShort" | |
[[keyboard.bindings]] ## Vi Mode | |
key = ";" | |
mode = "Vi|~Search" | |
action = "InlineSearchNext" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "," | |
mode = "Vi|~Search" | |
action = "InlineSearchPrevious" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "H" | |
mode = "Vi|~Search" | |
action = "Left" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "J" | |
mode = "Vi|~Search" | |
action = "Down" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "K" | |
mode = "Vi|~Search" | |
action = "Up" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "L" | |
mode = "Vi|~Search" | |
action = "Right" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "ArrowLeft" | |
mode = "Vi|~Search" | |
action = "Left" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "ArrowDown" | |
mode = "Vi|~Search" | |
action = "Down" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "ArrowUp" | |
mode = "Vi|~Search" | |
action = "Up" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "ArrowRight" | |
mode = "Vi|~Search" | |
action = "Right" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "0" | |
mode = "Vi|~Search" | |
action = "First" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "$" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "Last" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "Home" | |
mode = "Vi|~Search" | |
action = "First" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "End" | |
mode = "Vi|~Search" | |
action = "Last" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "^" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "FirstOccupied" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "H" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "High" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "M" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "Middle" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "L" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "Low" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "B" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "SemanticLeft" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "W" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "SemanticRight" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "E" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "SemanticRightEnd" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "%" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "Bracket" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "/" | |
mode = "Vi|~Search" | |
action = "SearchForward" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "?" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "SearchBackward" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "N" | |
mode = "Vi|~Search" | |
action = "SearchNext" | |
[[keyboard.bindings]] ## Vi Mode | |
key = "N" | |
mods = "Shift" | |
mode = "Vi|~Search" | |
action = "SearchPrevious" | |
[[keyboard.bindings]] ## Search Mode | |
key = "Enter" | |
mode = "Search|Vi" | |
action = "SearchConfirm" | |
[[keyboard.bindings]] ## Search Mode | |
key = "Escape" | |
mode = "Search" | |
action = "SearchCancel" | |
[[keyboard.bindings]] ## Search Mode | |
key = "C" | |
mods = "Control" | |
mode = "Search" | |
action = "SearchCancel" | |
[[keyboard.bindings]] ## Search Mode | |
key = "U" | |
mods = "Control" | |
mode = "Search" | |
action = "SearchClear" | |
[[keyboard.bindings]] ## Search Mode | |
key = "W" | |
mods = "Control" | |
mode = "Search" | |
action = "SearchDeleteWord" | |
[[keyboard.bindings]] ## Search Mode | |
key = "P" | |
mods = "Control" | |
mode = "Search" | |
action = "SearchHistoryPrevious" | |
[[keyboard.bindings]] ## Search Mode | |
key = "N" | |
mods = "Control" | |
mode = "Search" | |
action = "SearchHistoryNext" | |
[[keyboard.bindings]] ## Search Mode | |
key = "ArrowUp" | |
mode = "Search" | |
action = "SearchHistoryPrevious" | |
[[keyboard.bindings]] ## Search Mode | |
key = "ArrowDown" | |
mode = "Search" | |
action = "SearchHistoryNext" | |
[[keyboard.bindings]] ## Search Mode | |
key = "Enter" | |
mode = "Search|~Vi" | |
action = "SearchFocusNext" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "V" | |
mods = "Control|Shift" | |
mode = "~Vi" | |
action = "Paste" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "V" | |
mods = "Control|Shift" | |
mode = "Vi|Search" | |
action = "Paste" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "C" | |
mods = "Control|Shift" | |
action = "Copy" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "F" | |
mods = "Control|Shift" | |
mode = "~Search" | |
action = "SearchForward" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "B" | |
mods = "Control|Shift" | |
mode = "~Search" | |
action = "SearchBackward" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "C" | |
mods = "Control|Shift" | |
mode = "Vi|~Search" | |
action = "ClearSelection" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "Insert" | |
mods = "Shift" | |
action = "PasteSelection" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "0" | |
mods = "Control" | |
action = "ResetFontSize" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "=" | |
mods = "Control" | |
action = "IncreaseFontSize" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "+" | |
mods = "Control" | |
action = "IncreaseFontSize" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "NumpadAdd" | |
mods = "Control" | |
action = "IncreaseFontSize" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "-" | |
mods = "Control" | |
action = "DecreaseFontSize" | |
[[keyboard.bindings]] ## Windows, Linux, and BSD only | |
key = "NumpadSubtract" | |
mods = "Control" | |
action = "DecreaseFontSize" | |
# [[keyboard.bindings]] ## Windows only | |
# key = "Enter" | |
# mods = "Alt" | |
# action = "ToggleFullScreen" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "K" | |
# mods = "Command" | |
# mode = "~Vi|~Search" | |
# chars = "\u000c" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "K" | |
# mods = "Command" | |
# mode = "~Vi|~Search" | |
# action = "ClearHistory" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "0" | |
# mods = "Command" | |
# action = "ResetFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "=" | |
# mods = "Command" | |
# action = "IncreaseFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "+" | |
# mods = "Command" | |
# action = "IncreaseFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "NumpadAdd" | |
# mods = "Command" | |
# action = "IncreaseFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "-" | |
# mods = "Command" | |
# action = "DecreaseFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "NumpadSubtract" | |
# mods = "Control" | |
# action = "DecreaseFontSize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "V" | |
# mods = "Command" | |
# mode = "~Vi" | |
# action = "Paste" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "V" | |
# mods = "Command" | |
# mode = "Vi|Search" | |
# action = "Paste" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "C" | |
# mods = "Command" | |
# action = "Copy" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "C" | |
# mods = "Command" | |
# mode = "Vi|~Search" | |
# action = "ClearSelection" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "H" | |
# mods = "Command" | |
# action = "Hide" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "H" | |
# mods = "Command|Alt" | |
# action = "HideOtherApplications" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "M" | |
# mods = "Command" | |
# action = "Minimize" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "Q" | |
# mods = "Command" | |
# action = "Quit" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "W" | |
# mods = "Command" | |
# action = "Quit" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "N" | |
# mods = "Command" | |
# action = "CreateNewWindow" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "T" | |
# mods = "Command" | |
# action = "CreateNewTab" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "F" | |
# mods = "Command|Control" | |
# action = "ToggleFullScreen" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "F" | |
# mods = "Command" | |
# mode = "~Search" | |
# action = "SearchForward" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "B" | |
# mods = "Command" | |
# mode = "~Search" | |
# action = "SearchBackward" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "]" | |
# mods = "Command|Shift" | |
# action = "SelectNextTab" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "[" | |
# mods = "Command|Shift" | |
# action = "SelectPreviousTab" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "Tab" | |
# mods = "Command" | |
# action = "SelectNextTab" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "Tab" | |
# mods = "Command|Shift" | |
# action = "SelectPreviousTab" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "1" | |
# mods = "Command" | |
# action = "SelectTab1" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "2" | |
# mods = "Command" | |
# action = "SelectTab2" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "3" | |
# mods = "Command" | |
# action = "SelectTab3" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "4" | |
# mods = "Command" | |
# action = "SelectTab4" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "5" | |
# mods = "Command" | |
# action = "SelectTab5" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "6" | |
# mods = "Command" | |
# action = "SelectTab6" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "7" | |
# mods = "Command" | |
# action = "SelectTab7" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "8" | |
# mods = "Command" | |
# action = "SelectTab8" | |
# [[keyboard.bindings]] ## macOS only | |
# key = "9" | |
# mods = "Command" | |
# action = "SelectLastTab" | |
[debug] | |
render_timer = false | |
persistent_logging = false | |
log_level = "Warn" | |
renderer = "None" | |
print_events = false | |
highlight_damage = false | |
prefer_egl = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment