Alacritty: sync with latest config

This commit is contained in:
2020-07-02 01:02:56 +02:00
parent 9a05dd5aed
commit e71791843d

View File

@@ -10,16 +10,16 @@
# each instance of Alacritty. If it is not present, alacritty will # each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is # check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used. # available, otherwise `xterm-256color` is used.
#TERM: xterm-256color #TERM: alacritty
window: #window:
# Window dimensions (changes require restart) # Window dimensions (changes require restart)
# #
# Specified in number of columns/lines, not pixels. # Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored. # If both are `0`, this setting is ignored.
dimensions: #dimensions:
columns: 0 # columns: 0
lines: 0 # lines: 0
# Window position (changes require restart) # Window position (changes require restart)
# #
@@ -33,12 +33,12 @@ window:
# #
# Blank space added around the window in pixels. This padding is scaled # Blank space added around the window in pixels. This padding is scaled
# by DPI and the specified value is always added at both opposing sides. # by DPI and the specified value is always added at both opposing sides.
padding: #padding:
x: 0 # x: 0
y: 0 # y: 0
# Spread additional padding evenly around the terminal content. # Spread additional padding evenly around the terminal content.
dynamic_padding: false #dynamic_padding: false
# Window decorations # Window decorations
# #
@@ -49,7 +49,7 @@ window:
# Values for `decorations` (macOS only): # Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons # - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background, but no title bar buttons # - buttonless: Title bar, transparent background, but no title bar buttons
decorations: full #decorations: full
# Startup Mode (changes require restart) # Startup Mode (changes require restart)
# #
@@ -60,7 +60,7 @@ window:
# #
# Values for `startup_mode` (macOS only): # Values for `startup_mode` (macOS only):
# - SimpleFullscreen # - SimpleFullscreen
startup_mode: Windowed #startup_mode: Windowed
# Window title # Window title
#title: Alacritty #title: Alacritty
@@ -78,10 +78,10 @@ window:
# Set this to `None` to use the default theme variant. # Set this to `None` to use the default theme variant.
#gtk_theme_variant: None #gtk_theme_variant: None
scrolling: #scrolling:
# Maximum number of lines in the scrollback buffer. # Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling. # Specifying '0' will disable scrolling.
history: 10000 #history: 10000
# Scrolling distance multiplier. # Scrolling distance multiplier.
#multiplier: 3 #multiplier: 3
@@ -94,7 +94,7 @@ font:
# #
# Default: # Default:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
family: xos4 Terminus family: xos4 Terminus
@@ -146,9 +146,9 @@ font:
# Glyph offset determines the locations of the glyphs within their cells with # Glyph offset determines the locations of the glyphs within their cells with
# the default being at the bottom. Increasing `x` moves the glyph to the right, # the default being at the bottom. Increasing `x` moves the glyph to the right,
# increasing `y` moves the glyph upwards. # increasing `y` moves the glyph upwards.
glyph_offset: #glyph_offset:
x: 0 # x: 0
y: 0 # y: 0
# Thin stroke font rendering (macOS only) # Thin stroke font rendering (macOS only)
# #
@@ -307,23 +307,23 @@ visual_bell:
# The value `0.0` is completely transparent and `1.0` is opaque. # The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 0.8 background_opacity: 0.8
selection: #selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard. # When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: false #save_to_clipboard: false
# Allow terminal applications to change Alacritty's window title. # Allow terminal applications to change Alacritty's window title.
dynamic_title: true #dynamic_title: true
cursor: #cursor:
# Cursor style # Cursor style
# #
# Values for `style`: # Values for `style`:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
style: Block #style: Block
# Vi mode cursor style # Vi mode cursor style
# #
@@ -335,14 +335,14 @@ cursor:
# If this is `true`, the cursor will be rendered as a hollow box when the # If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused. # window is not focused.
unfocused_hollow: true #unfocused_hollow: true
# Thickness of the cursor relative to the cell width as floating point number # Thickness of the cursor relative to the cell width as floating point number
# from `0.0` to `1.0`. # from `0.0` to `1.0`.
thickness: 0.15 #thickness: 0.15
# Live config reload (changes require restart) # Live config reload (changes require restart)
live_config_reload: true #live_config_reload: true
# Shell # Shell
# #
@@ -362,7 +362,7 @@ live_config_reload: true
# #
# Directory the shell is started in. If this is unset, or `None`, the working # Directory the shell is started in. If this is unset, or `None`, the working
# directory of the parent process will be used. # directory of the parent process will be used.
working_directory: None #working_directory: None
# WinPTY backend (Windows only) # WinPTY backend (Windows only)
# #
@@ -375,7 +375,7 @@ working_directory: None
#winpty_backend: false #winpty_backend: false
# Send ESC (\x1b) before characters when alt is pressed. # Send ESC (\x1b) before characters when alt is pressed.
alt_send_esc: true #alt_send_esc: true
mouse: mouse:
# Click settings # Click settings
@@ -383,13 +383,13 @@ mouse:
# The `double_click` and `triple_click` settings control the time # The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double # alacritty should wait for accepting multiple clicks as one double
# or triple click. # or triple click.
double_click: { threshold: 300 } #double_click: { threshold: 300 }
triple_click: { threshold: 300 } #triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing. # If this is `true`, the cursor is temporarily hidden when typing.
hide_when_typing: false #hide_when_typing: false
url: #url:
# URL launcher # URL launcher
# #
# This program is executed when clicking on a text which is recognized as a URL. # This program is executed when clicking on a text which is recognized as a URL.
@@ -401,8 +401,8 @@ mouse:
# - (macOS) open # - (macOS) open
# - (Linux/BSD) xdg-open # - (Linux/BSD) xdg-open
# - (Windows) explorer # - (Windows) explorer
launcher: #launcher:
program: xdg-open # program: xdg-open
# args: [] # args: []
# URL modifiers # URL modifiers
@@ -433,8 +433,8 @@ mouse:
# And optionally: # And optionally:
# #
# - `mods` (see key bindings) # - `mods` (see key bindings)
mouse_bindings: #mouse_bindings:
- { mouse: Middle, action: PasteSelection } # - { mouse: Middle, action: PasteSelection }
# Key bindings # Key bindings
# #
@@ -483,6 +483,8 @@ mouse_bindings:
# - ResetFontSize # - ResetFontSize
# - ScrollPageUp # - ScrollPageUp
# - ScrollPageDown # - ScrollPageDown
# - ScrollHalfPageUp
# - ScrollHalfPageDown
# - ScrollLineUp # - ScrollLineUp
# - ScrollLineDown # - ScrollLineDown
# - ScrollToTop # - ScrollToTop