aboutsummaryrefslogtreecommitdiffstats
path: root/.config/alacritty
diff options
context:
space:
mode:
Diffstat (limited to '.config/alacritty')
-rw-r--r--.config/alacritty/alacritty.yml52
1 files changed, 35 insertions, 17 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 977b54d..88b4c96 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -62,7 +62,13 @@ window:
# Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background and no title bar buttons
- decorations: full
+ #decorations: full
+
+ # Background opacity
+ #
+ # Window opacity as a floating point number from `0.0` to `1.0`.
+ # The value `0.0` is completely transparent and `1.0` is opaque.
+ opacity: 0.96
# Startup Mode (changes require restart)
#
@@ -157,9 +163,8 @@ font:
# of as modifying the line spacing, and `offset.x` as modifying the letter
# spacing.
#offset:
- offset:
- x: 0
- y: 0
+ # x: 0
+ # y: 0
# 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
@@ -314,6 +319,13 @@ colors:
#
#indexed_colors: []
+ # Transparent cell backgrounds
+ #
+ # Whether or not `window.opacity` applies to all cell backgrounds or only to
+ # the default background. When set to `true` all cells will be transparent
+ # regardless of their background color.
+ #transparent_background_colors: false
+
# Bell
#
# The bell is rung every time the BEL control character is received.
@@ -355,12 +367,6 @@ colors:
#
#command: None
-# Background opacity
-#
-# Window opacity as a floating point number from `0.0` to `1.0`.
-# The value `0.0` is completely transparent and `1.0` is opaque.
-background_opacity: 0.96
-
selection:
# This string contains all characters that are used as separators for
# "semantic words" in Alacritty.
@@ -435,6 +441,9 @@ live_config_reload: true
# Send ESC (\x1b) before characters when alt is pressed.
alt_send_esc: true
+# Offer IPC using `alacritty msg` (unix only)
+#ipc_socket: true
+
mouse:
# Click settings
#
@@ -460,8 +469,8 @@ mouse:
# Each hint must have a `regex` and either an `action` or a `command` field.
# The fields `mouse`, `binding` and `post_processing` are optional.
#
- # The fields `command`, `binding.key`, `binding.mods` and `mouse.mods` accept
- # the same values as they do in the `key_bindings` section.
+ # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
+ # `mouse.mods` accept the same values as they do in the `key_bindings` section.
#
# The `mouse.enabled` field controls if the hint should be underlined while
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
@@ -480,7 +489,7 @@ mouse:
# - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint.
#enabled:
- # - regex: "(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{-}\\^⟨⟩`]+"
# command: xdg-open
# post_processing: true
@@ -509,13 +518,20 @@ mouse:
# - Right
# - Numeric identifier such as `5`
#
-# - `action` (see key bindings)
+# - `action` (see key bindings for actions not exclusive to mouse mode)
+#
+# - Mouse exclusive actions:
+#
+# - ExpandSelection
+# Expand the selection to the current mouse cursor location.
#
# And optionally:
#
# - `mods` (see key bindings)
mouse_bindings:
- - { mouse: Middle, action: PasteSelection }
+# - { mouse: Right, action: ExpandSelection }
+# - { mouse: Right, mods: Control, action: ExpandSelection }
+ - { mouse: Middle, mode: ~Vi, action: PasteSelection }
# Key bindings
#
@@ -584,6 +600,8 @@ mouse_bindings:
# - ToggleFullscreen
# - SpawnNewInstance
# Spawn a new instance of Alacritty.
+# - CreateNewWindow
+# Create a new Alacritty window from the current process.
# - ClearLogNotice
# Clear Alacritty's UI warning and error notice.
# - ClearSelection
@@ -732,11 +750,11 @@ mouse_bindings:
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# Vi Mode
- #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
+ #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
#- { key: Escape, mode: Vi|~Search, action: ClearSelection }
- #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
#- { key: I, mode: Vi|~Search, action: ToggleViMode }
+ #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }