From 0d3b11c231b5d8536fdc8fbddf167956ec999cc6 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Fri, 4 Mar 2022 18:18:22 -0600 Subject: feat: more tmux/neovim/alacritty --- alacritty.yml | 517 +++++++++++----------------------------------------------- 1 file changed, 99 insertions(+), 418 deletions(-) (limited to 'alacritty.yml') diff --git a/alacritty.yml b/alacritty.yml index 212a792..4dbd66f 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -15,340 +15,109 @@ # environment variables. Some entries may override variables # set by alacritty itself. env: -# TERM variable -# -# This value is used to set the `$TERM` environment variable for -# each instance of Alacritty. If it is not present, alacritty will -# check the local terminfo database and use `alacritty` if it is -# available, otherwise `xterm-256color` is used. + # TERM variable + # + # This value is used to set the `$TERM` environment variable for + # each instance of Alacritty. If it is not present, alacritty will + # check the local terminfo database and use `alacritty` if it is + # available, otherwise `xterm-256color` is used. TERM: alacritty -#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. -#dimensions: -# columns: 0 -# lines: 0 - -# Window position (changes require restart) -# -# Specified in number of pixels. -# If the position is not set, the window manager will handle the placement. -#position: -# x: 0 -# y: 0 - -# Window padding (changes require restart) -# -# 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. -#padding: -# x: 0 -# y: 0 - -# Spread additional padding evenly around the terminal content. -#dynamic_padding: false - -# Window decorations -# -# Values for `decorations`: -# - full: Borders and title bar -# - none: Neither borders nor title bar -# -# 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 +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. + dimensions: + columns: 120 + lines: 40 -# 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: 1.0 + # Spread additional padding evenly around the terminal content. + dynamic_padding: false -# Startup Mode (changes require restart) -# -# Values for `startup_mode`: -# - Windowed -# - Maximized -# - Fullscreen -# -# Values for `startup_mode` (macOS only): -# - SimpleFullscreen -#startup_mode: Windowed + # Window decorations + # + # Values for `decorations`: + # - full: Borders and title bar + # - none: Neither borders nor title bar + # + # 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 -# Window title -title: Alacritty + # 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: 1.0 -# Allow terminal applications to change Alacritty's window title. -#dynamic_title: true + # Startup Mode (changes require restart) + # + # Values for `startup_mode`: + # - Windowed + # - Maximized + # - Fullscreen + # + # Values for `startup_mode` (macOS only): + # - SimpleFullscreen + startup_mode: Fullscreen -# Window class (Linux/BSD only): -#class: -# Application instance name -#instance: Alacritty -# General application class -#general: Alacritty + # Window title + title: + Alacritty -# GTK theme variant (Linux/BSD only) -# -# 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 + # Allow terminal applications to change Alacritty's window title. + # dynamic_title: true scrolling: -# Maximum number of lines in the scrollback buffer. -# Specifying '0' will disable scrolling. + # Maximum number of lines in the scrollback buffer. + # Specifying '0' will disable scrolling. history: 10000 -# Scrolling distance multiplier. + # Scrolling distance multiplier. multiplier: 3 # Font configuration font: - # Normal (roman) font face normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas family: FiraCode NF - - # The `style` can be specified to pick a specific face. - #style: Regular - - # Bold font face - #bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold - - # Italic font face - #italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Italic - - # Bold italic font face - #bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold Italic - - # Point size - #size: 11.0 - - # Offset is the extra space around each character. `offset.y` can be thought - # of as modifying the line spacing, and `offset.x` as modifying the letter - # spacing. - #offset: - # 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 - # right, increasing `y` moves the glyph upward. - #glyph_offset: - # x: 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 - -# If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: false - -# Colors (Tomorrow Night) -#colors: -# Default colors -#primary: -# background: '#1d1f21' -# foreground: '#c5c8c6' - -# Bright and dim foreground colors -# -# The dimmed foreground color is calculated automatically if it is not -# present. If the bright foreground color is not set, or -# `draw_bold_text_with_bright_colors` is `false`, the normal foreground -# color will be used. -#dim_foreground: '#828482' -#bright_foreground: '#eaeaea' - -# Cursor colors -# -# Colors which should be used to draw the terminal cursor. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#cursor: -# text: CellBackground -# cursor: CellForeground - -# Vi mode cursor colors -# -# Colors for the cursor when the vi mode is active. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#vi_mode_cursor: -# text: CellBackground -# cursor: CellForeground - -# Search colors -# -# Colors used for the search bar and match highlighting. -#search: -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#matches: -# foreground: '#000000' -# background: '#ffffff' -#focused_match: -# foreground: '#ffffff' -# background: '#000000' - -#bar: -# background: '#c5c8c6' -# foreground: '#1d1f21' - -# Keyboard regex hints -#hints: -# First character in the hint label -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#start: -# foreground: '#1d1f21' -# background: '#e9ff5e' - -# All characters after the first one in the hint label -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#end: -# foreground: '#e9ff5e' -# background: '#1d1f21' - -# Line indicator -# -# Color used for the indicator displaying the position in history during -# search and vi mode. -# -# By default, these will use the opposing primary color. -#line_indicator: -# foreground: None -# background: None - -# Selection colors -# -# Colors which should be used to draw the selection area. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like #ff00ff. -#selection: -# text: CellBackground -# background: CellForeground - -# Normal colors -#normal: -# black: '#1d1f21' -# red: '#cc6666' -# green: '#b5bd68' -# yellow: '#f0c674' -# blue: '#81a2be' -# magenta: '#b294bb' -# cyan: '#8abeb7' -# white: '#c5c8c6' - -# Bright colors -#bright: -# black: '#666666' -# red: '#d54e53' -# green: '#b9ca4a' -# yellow: '#e7c547' -# blue: '#7aa6da' -# magenta: '#c397d8' -# cyan: '#70c0b1' -# white: '#eaeaea' - -# Dim colors -# -# If the dim colors are not set, they will be calculated automatically based -# on the `normal` colors. -#dim: -# black: '#131415' -# red: '#864343' -# green: '#777c44' -# yellow: '#9e824c' -# blue: '#556a7d' -# magenta: '#75617b' -# cyan: '#5b7d78' -# white: '#828482' - -# Indexed Colors -# -# The indexed colors include all colors from 16 to 256. -# When these are not set, they're filled with sensible defaults. -# -# Example: -# `- { index: 16, color: '#ff00ff' }` -# -#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 + style: Regular + bold: + family: FiraCode NF + style: Bold + italic: + family: FiraCode NF + style: Italic + bold_italic: + family: FiraCode NF + style: Bold Italic # Bell # # The bell is rung every time the BEL control character is received. -#bell: -# Visual Bell Animation -# -# Animation effect for flashing the screen when the visual bell is rung. -# -# Values for `animation`: -# - Ease -# - EaseOut -# - EaseOutSine -# - EaseOutQuad -# - EaseOutCubic -# - EaseOutQuart -# - EaseOutQuint -# - EaseOutExpo -# - EaseOutCirc -# - Linear -#animation: EaseOutExpo - -# Duration of the visual bell flash in milliseconds. A `duration` of `0` will -# disable the visual bell animation. -duration: 100 +bell: + # Visual Bell Animation + # + # Animation effect for flashing the screen when the visual bell is rung. + # + # Values for `animation`: + # - Ease + # - EaseOut + # - EaseOutSine + # - EaseOutQuad + # - EaseOutCubic + # - EaseOutQuart + # - EaseOutQuint + # - EaseOutExpo + # - EaseOutCirc + # - Linear + animation: EaseOutExpo + + # Duration of the visual bell flash in milliseconds. A `duration` of `0` will + # disable the visual bell animation. + duration: 100 # Visual bell animation color. #color: '#ffffff' @@ -367,54 +136,25 @@ duration: 100 #command: None selection: -# This string contains all characters that are used as separators for -# "semantic words" in Alacritty. -#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + # This string contains all characters that are used as separators for + # "semantic words" in Alacritty. + 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 -#cursor: -# Cursor style -#style: -# Cursor shape -# -# Values for `shape`: -# - ▇ Block -# - _ Underline -# - | Beam -#shape: Block - -# Cursor blinking state -# -# Values for `blinking`: -# - Never: Prevent the cursor from ever blinking -# - Off: Disable blinking by default -# - On: Enable blinking by default -# - Always: Force the cursor to always blink -#blinking: Off - -# Vi mode cursor style -# -# If the vi mode cursor style is `None` or not specified, it will fall back to -# the style of the active value of the normal cursor. -# -# See `cursor.style` for available options. -#vi_mode_style: None - -# Cursor blinking interval in milliseconds. -#blink_interval: 750 - -# If this is `true`, the cursor will be rendered as a hollow box when the -# window is not focused. -#unfocused_hollow: true - -# Thickness of the cursor relative to the cell width as floating point number -# from `0.0` to `1.0`. -#thickness: 0.15 +cursor: + # Cursor blinking state + # + # Values for `blinking`: + # - Never: Prevent the cursor from ever blinking + # - Off: Disable blinking by default + # - On: Enable blinking by default + # - Always: Force the cursor to always blink + blinking: On # Live config reload (changes require restart) -#live_config_reload: true +live_config_reload: true # Shell # @@ -428,6 +168,9 @@ selection: # - (Windows) powershell shell: program: C:\WINDOWS\system32\wsl.exe + args: + - -e + - '/bin/zsh -lc "tmux new -As main"' # Startup directory # @@ -435,68 +178,6 @@ shell: # directory of the parent process will be used. working_directory: '\\wsl$\Debian\home\tobyv' -# 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 -# -# The `double_click` and `triple_click` settings control the time -# alacritty should wait for accepting multiple clicks as one double -# or triple click. -#double_click: { threshold: 300 } -#triple_click: { threshold: 300 } - -# If this is `true`, the cursor is temporarily hidden when typing. -#hide_when_typing: false - -# Regex hints -# -# Terminal hints can be used to find text 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. -# -# 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. -# -# 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. -# -# Values for `action`: -# - Copy -# Copy the hint's text to the clipboard. -# - Paste -# Paste the hint's text to the terminal or search. -# - Select -# Select the hint's text. -# - MoveViModeCursor -# Move the vi mode cursor to the beginning of the hint. -#enabled: -# - 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 -# mouse: -# enabled: true -# mods: None -# binding: -# key: U -# mods: Control|Shift - # Mouse bindings # # Mouse bindings are specified as a list of objects, much like the key @@ -811,7 +492,7 @@ key_bindings: # (Windows, Linux, and BSD only) #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } #- { key: C, mods: Control|Shift, action: Copy } - #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } + - { key: F, mods: Control|Shift, mode: ~Search, action: ReceiveChar } #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } #- { key: Insert, mods: Shift, action: PasteSelection } -- cgit v1.2.3-70-g09d2