Alacritty: sync with latest version
This commit is contained in:
@@ -26,9 +26,10 @@
|
|||||||
#window:
|
#window:
|
||||||
# Window dimensions (changes require restart)
|
# Window dimensions (changes require restart)
|
||||||
#
|
#
|
||||||
# Number of lines/columns (not pixels) in the terminal. The number of columns
|
# Number of lines/columns (not pixels) in the terminal. Both lines and columns
|
||||||
# must be at least `2`, while using a value of `0` for columns and lines will
|
# must be non-zero for this to take effect. The number of columns must be at
|
||||||
# fall back to the window manager's recommended size.
|
# least `2`, while using a value of `0` for columns and lines will fall back
|
||||||
|
# to the window manager's recommended size
|
||||||
#dimensions:
|
#dimensions:
|
||||||
# columns: 0
|
# columns: 0
|
||||||
# lines: 0
|
# lines: 0
|
||||||
@@ -93,11 +94,12 @@
|
|||||||
# General application class
|
# General application class
|
||||||
#general: Alacritty
|
#general: Alacritty
|
||||||
|
|
||||||
# GTK theme variant (Linux/BSD only)
|
# Decorations theme variant (Linux/BSD only)
|
||||||
#
|
#
|
||||||
# Override the variant of the GTK theme. Commonly supported values are `dark`
|
# Override the variant of the GTK theme/Wayland client side decorations.
|
||||||
# and `light`. Set this to `None` to use the default theme variant.
|
# Commonly supported values are `dark` and `light`. Set this to `None` to use
|
||||||
#gtk_theme_variant: None
|
# the default theme variant.
|
||||||
|
#decorations_theme_variant: None
|
||||||
|
|
||||||
#scrolling:
|
#scrolling:
|
||||||
# Maximum number of lines in the scrollback buffer.
|
# Maximum number of lines in the scrollback buffer.
|
||||||
@@ -172,12 +174,6 @@ font:
|
|||||||
# x: 0
|
# x: 0
|
||||||
# y: 0
|
# y: 0
|
||||||
|
|
||||||
# Thin stroke font rendering (macOS only)
|
|
||||||
#
|
|
||||||
# Thin strokes are suitable for retina displays, but for non-retina screens
|
|
||||||
# it is recommended to set `use_thin_strokes` to `false`.
|
|
||||||
#use_thin_strokes: true
|
|
||||||
|
|
||||||
# Use built-in font for box drawing characters.
|
# Use built-in font for box drawing characters.
|
||||||
#
|
#
|
||||||
# If `true`, Alacritty will use a custom built-in font for box drawing
|
# If `true`, Alacritty will use a custom built-in font for box drawing
|
||||||
@@ -237,11 +233,7 @@ font:
|
|||||||
# foreground: '#ffffff'
|
# foreground: '#ffffff'
|
||||||
# background: '#000000'
|
# background: '#000000'
|
||||||
|
|
||||||
#bar:
|
# Keyboard hints
|
||||||
# background: '#c5c8c6'
|
|
||||||
# foreground: '#1d1f21'
|
|
||||||
|
|
||||||
# Keyboard regex hints
|
|
||||||
#hints:
|
#hints:
|
||||||
# First character in the hint label
|
# First character in the hint label
|
||||||
#
|
#
|
||||||
@@ -269,6 +261,15 @@ font:
|
|||||||
# foreground: None
|
# foreground: None
|
||||||
# background: None
|
# background: None
|
||||||
|
|
||||||
|
# Footer bar
|
||||||
|
#
|
||||||
|
# Color used for the footer bar on the bottom, used by search regex input,
|
||||||
|
# hyperlink URI preview, etc.
|
||||||
|
#
|
||||||
|
#footer_bar:
|
||||||
|
# background: '#c5c8c6'
|
||||||
|
# foreground: '#1d1f21'
|
||||||
|
|
||||||
# Selection colors
|
# Selection colors
|
||||||
#
|
#
|
||||||
# Colors which should be used to draw the selection area.
|
# Colors which should be used to draw the selection area.
|
||||||
@@ -446,6 +447,11 @@ colors:
|
|||||||
# Cursor blinking interval in milliseconds.
|
# Cursor blinking interval in milliseconds.
|
||||||
#blink_interval: 750
|
#blink_interval: 750
|
||||||
|
|
||||||
|
# Time after which cursor stops blinking, in seconds.
|
||||||
|
#
|
||||||
|
# Specifying '0' will disable timeout for blinking.
|
||||||
|
#blink_timeout: 5
|
||||||
|
|
||||||
# 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
|
||||||
@@ -464,8 +470,7 @@ colors:
|
|||||||
# shell.
|
# shell.
|
||||||
#
|
#
|
||||||
# Default:
|
# Default:
|
||||||
# - (macOS) /bin/bash --login
|
# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
|
||||||
# - (Linux/BSD) user login shell
|
|
||||||
# - (Windows) powershell
|
# - (Windows) powershell
|
||||||
#shell:
|
#shell:
|
||||||
# program: /bin/bash
|
# program: /bin/bash
|
||||||
@@ -496,18 +501,22 @@ colors:
|
|||||||
# 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
|
||||||
|
|
||||||
# Regex hints
|
# Hints
|
||||||
#
|
#
|
||||||
# Terminal hints can be used to find text in the visible part of the terminal
|
# Terminal hints can be used to find text or hyperlink in the visible part of
|
||||||
# and pipe it to other applications.
|
# the terminal and pipe it to other applications.
|
||||||
hints:
|
hints:
|
||||||
# Keys used for the hint labels.
|
# Keys used for the hint labels.
|
||||||
#alphabet: "jfkdls;ahgurieowpq"
|
#alphabet: "jfkdls;ahgurieowpq"
|
||||||
|
|
||||||
# List with all available hints
|
# List with all available hints
|
||||||
#
|
#
|
||||||
# Each hint must have a `regex` and either an `action` or a `command` field.
|
# Each hint must have any of `regex` or `hyperlinks` field and either an
|
||||||
# The fields `mouse`, `binding` and `post_processing` are optional.
|
# `action` or a `command` field. The fields `mouse`, `binding` and
|
||||||
|
# `post_processing` are optional.
|
||||||
|
#
|
||||||
|
# The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be
|
||||||
|
# highlighted.
|
||||||
#
|
#
|
||||||
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
|
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
|
||||||
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
|
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
|
||||||
@@ -517,7 +526,8 @@ hints:
|
|||||||
#
|
#
|
||||||
# If the `post_processing` field is set to `true`, heuristics will be used to
|
# If the `post_processing` field is set to `true`, heuristics will be used to
|
||||||
# shorten the match if there are characters likely not to be part of the hint
|
# shorten the match if there are characters likely not to be part of the hint
|
||||||
# (e.g. a trailing `.`). This is most useful for URIs.
|
# (e.g. a trailing `.`). This is most useful for URIs and applies only to
|
||||||
|
# `regex` matches.
|
||||||
#
|
#
|
||||||
# Values for `action`:
|
# Values for `action`:
|
||||||
# - Copy
|
# - Copy
|
||||||
@@ -531,6 +541,7 @@ hints:
|
|||||||
enabled:
|
enabled:
|
||||||
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
||||||
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
||||||
|
hyperlinks: true
|
||||||
command: xdg-open
|
command: xdg-open
|
||||||
post_processing: true
|
post_processing: true
|
||||||
mouse:
|
mouse:
|
||||||
@@ -659,6 +670,8 @@ hints:
|
|||||||
# - ToggleBlockSelection
|
# - ToggleBlockSelection
|
||||||
# - ToggleSemanticSelection
|
# - ToggleSemanticSelection
|
||||||
# Toggle semantic selection based on `selection.semantic_escape_chars`.
|
# Toggle semantic selection based on `selection.semantic_escape_chars`.
|
||||||
|
# - CenterAroundViCursor
|
||||||
|
# Center view around vi mode cursor
|
||||||
#
|
#
|
||||||
# - Vi mode exclusive cursor motion actions:
|
# - Vi mode exclusive cursor motion actions:
|
||||||
#
|
#
|
||||||
@@ -785,9 +798,9 @@ key_bindings:
|
|||||||
#- { key: Copy, action: Copy }
|
#- { key: Copy, action: Copy }
|
||||||
#- { key: L, mods: Control, action: ClearLogNotice }
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
|
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
|
||||||
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp }
|
||||||
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
||||||
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
|
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
|
||||||
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
||||||
|
|
||||||
# Vi Mode
|
# Vi Mode
|
||||||
@@ -813,6 +826,7 @@ key_bindings:
|
|||||||
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
|
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
|
||||||
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
|
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
|
||||||
#- { key: Return, mode: Vi|~Search, action: Open }
|
#- { key: Return, mode: Vi|~Search, action: Open }
|
||||||
|
#- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
|
||||||
#- { key: K, mode: Vi|~Search, action: Up }
|
#- { key: K, mode: Vi|~Search, action: Up }
|
||||||
#- { key: J, mode: Vi|~Search, action: Down }
|
#- { key: J, mode: Vi|~Search, action: Down }
|
||||||
#- { key: H, mode: Vi|~Search, action: Left }
|
#- { key: H, mode: Vi|~Search, action: Left }
|
||||||
|
|||||||
Reference in New Issue
Block a user