aboutsummaryrefslogtreecommitdiffstats
path: root/.config/alacritty
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-03-25 21:17:11 +0100
committerDavid Runge <dave@sleepmap.de>2023-03-25 21:17:11 +0100
commit986789f32d83b2ccd41e9eebc170b253f43f5002 (patch)
tree63fa8d5d688f91e613f0c72ff0596917d5a38a81 /.config/alacritty
parentc06c5a5c7c870d139adb640eb6079a286a6be60c (diff)
downloaddotfiles-986789f32d83b2ccd41e9eebc170b253f43f5002.tar.gz
dotfiles-986789f32d83b2ccd41e9eebc170b253f43f5002.tar.bz2
dotfiles-986789f32d83b2ccd41e9eebc170b253f43f5002.tar.xz
dotfiles-986789f32d83b2ccd41e9eebc170b253f43f5002.zip
alacritty: Update config to 0.12
Diffstat (limited to '.config/alacritty')
-rw-r--r--.config/alacritty/alacritty.yml104
1 files changed, 72 insertions, 32 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index cce7ef8..ea3cb51 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -27,9 +27,10 @@
window:
# Window dimensions (changes require restart)
#
- # Number of lines/columns (not pixels) in the terminal. The number of columns
- # must be at least `2`, while using a value of `0` for columns and lines will
- # fall back to the window manager's recommended size.
+ # Number of lines/columns (not pixels) in the terminal. Both lines and columns
+ # must be non-zero for this to take effect. The number of columns must be at
+ # least `2`, while using a value of `0` for columns and lines will fall back
+ # to the window manager's recommended size
dimensions:
columns: 0
lines: 0
@@ -94,11 +95,24 @@ window:
# General application class
#general: Alacritty
- # GTK theme variant (Linux/BSD only)
+ # Decorations theme variant
#
- # Override the variant of the GTK theme. Commonly supported values are `dark`
- # and `light`. Set this to `None` to use the default theme variant.
- #gtk_theme_variant: None
+ # Override the variant of the System theme/GTK theme/Wayland client side
+ # decorations. Commonly supported values are `Dark`, `Light`, and `None` for
+ # auto pick-up. Set this to `None` to use the default theme variant.
+ #decorations_theme_variant: None
+
+ # Resize increments
+ #
+ # Prefer resizing window by discrete steps equal to cell dimensions.
+ #resize_increments: false
+
+ # Make `Option` key behave as `Alt` (macOS only):
+ # - OnlyLeft
+ # - OnlyRight
+ # - Both
+ # - None (default)
+ #option_as_alt: None
scrolling:
# Maximum number of lines in the scrollback buffer.
@@ -173,11 +187,12 @@ font:
x: 0
y: 0
- # Thin stroke font rendering (macOS only)
+ # Use built-in font for box drawing characters.
+ #
+ # If `true`, Alacritty will use a custom built-in font for box drawing
+ # characters (Unicode points 2500 - 259f).
#
- # 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
+ #builtin_box_drawing: true
# If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false
@@ -231,13 +246,9 @@ colors:
# foreground: '#ffffff'
# background: '#000000'
- #bar:
- # background: '#c5c8c6'
- # foreground: '#1d1f21'
-
- # Keyboard regex hints
+ # Keyboard hints
#hints:
- # Fist character in the hint label
+ # First character in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
@@ -263,6 +274,15 @@ colors:
# foreground: 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
#
# Colors which should be used to draw the selection area.
@@ -406,6 +426,11 @@ cursor:
# Cursor blinking interval in milliseconds.
#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
# window is not focused.
unfocused_hollow: true
@@ -424,8 +449,7 @@ live_config_reload: true
# shell.
#
# Default:
-# - (macOS) /bin/bash --login
-# - (Linux/BSD) user login shell
+# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
# - (Windows) powershell
#shell:
# program: /bin/bash
@@ -438,9 +462,6 @@ live_config_reload: true
# directory of the parent process will be used.
#working_directory: None
-# Send ESC (\x1b) before characters when alt is pressed.
-alt_send_esc: true
-
# Offer IPC using `alacritty msg` (unix only)
#ipc_socket: true
@@ -456,18 +477,22 @@ mouse:
# If this is `true`, the cursor is temporarily hidden when typing.
#hide_when_typing: false
-# Regex hints
+# Hints
#
-# Terminal hints can be used to find text in the visible part of the terminal
-# and pipe it to other applications.
+# Terminal hints can be used to find text or hyperlink in the visible part of
+# the terminal and pipe it to other applications.
#hints:
# Keys used for the hint labels.
#alphabet: "jfkdls;ahgurieowpq"
# List with all available hints
#
- # Each hint must have a `regex` and either an `action` or a `command` field.
- # The fields `mouse`, `binding` and `post_processing` are optional.
+ # Each hint must have any of `regex` or `hyperlinks` field and either an
+ # `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
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
@@ -477,7 +502,8 @@ mouse:
#
# 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
- # (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`:
# - Copy
@@ -491,6 +517,7 @@ mouse:
#enabled:
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
+ # hyperlinks: true
# command: xdg-open
# post_processing: true
# mouse:
@@ -549,7 +576,7 @@ mouse_bindings:
# - Key0-Key9
#
# A full list with available key codes can be found here:
-# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
+# https://docs.rs/winit/*/winit/event/enum.VirtualKeyCode.html#variants
#
# Instead of using the name of the keys, the `key` field also supports using
# the scancode of the desired key. Scancodes have to be specified as a
@@ -598,6 +625,7 @@ mouse_bindings:
# - Quit
# Quit Alacritty.
# - ToggleFullscreen
+# - ToggleMaximized
# - SpawnNewInstance
# Spawn a new instance of Alacritty.
# - CreateNewWindow
@@ -619,6 +647,8 @@ mouse_bindings:
# - ToggleBlockSelection
# - ToggleSemanticSelection
# Toggle semantic selection based on `selection.semantic_escape_chars`.
+# - CenterAroundViCursor
+# Center view around vi mode cursor
#
# - Vi mode exclusive cursor motion actions:
#
@@ -744,9 +774,9 @@ mouse_bindings:
#- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
#- { 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: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
+ #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# Vi Mode
@@ -772,6 +802,7 @@ mouse_bindings:
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
#- { key: Return, mode: Vi|~Search, action: Open }
+ #- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
#- { key: K, mode: Vi|~Search, action: Up }
#- { key: J, mode: Vi|~Search, action: Down }
#- { key: H, mode: Vi|~Search, action: Left }
@@ -845,7 +876,7 @@ mouse_bindings:
#- { key: M, mods: Command, action: Minimize }
#- { key: Q, mods: Command, action: Quit }
#- { key: W, mods: Command, action: Quit }
- #- { key: N, mods: Command, action: SpawnNewInstance }
+ #- { key: N, mods: Command, action: CreateNewWindow }
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
#- { key: F, mods: Command, mode: ~Search, action: SearchForward }
#- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
@@ -868,5 +899,14 @@ mouse_bindings:
# - Trace
#log_level: Warn
+ # Renderer override.
+ # - glsl3
+ # - gles2
+ # - gles2_pure
+ #renderer: None
+
# Print all received window events.
#print_events: false
+
+ # Highlight window damage information.
+ #highlight_damage: false