Skip to content

Instantly share code, notes, and snippets.

@chfle
Created March 14, 2022 20:50
Show Gist options
  • Save chfle/ab31e2125138930c89b800da5f18672e to your computer and use it in GitHub Desktop.
Save chfle/ab31e2125138930c89b800da5f18672e to your computer and use it in GitHub Desktop.
~/.config/alacritty/alacritty.yml
#------------------------------------------------------------------------------
# Started On - Fri 14 Mar 21:01:22 GMT 2022
# Last Change - Fri 14 Mar 21:01:51 GMT 2022
# Author E-Mail - christian.lehnert.home@gmail.com
# Author GitHub - https://github.com/chfle
#------------------------------------------------------------------------------
window:
padding:
x: 6
y: 6
# full | none
decorations: full
# <= 1.0
opacity: 0.9
# Windowed | Maximized | Fullscreen
startup_mode: Windowed
title: Alacritty - Chris
dynamic_title: true
class:
instance: Alacritty
general: Alacritty
# dark | light | None
gtk_theme_variant: None
scrolling:
history: 16000
# Font configuration
font:
normal:
family: Hack
style: Regular
bold:
family: Hack
style: Bold
italic:
family: Hack
style: Italic
bold_italic:
family: Hack
style: Bold Italic
size: 15
offset:
x: 0
y: 1
builtin_box_drawing: true
draw_bold_text_with_bright_colors: false
colors:
primary:
background: '#000000'
foreground: '#B4C424'
dim_foreground: '#bbbbbb'
bright_foreground: '#ffffff'
# CellForeground | CellBackground
cursor:
text: CellBackground
cursor: CellForeground
normal:
black: '#000000'
red: '#aa0000'
green: '#00aa00'
yellow: '#aa5500'
blue: '#0000aa'
magenta: '#aa00aa'
cyan: '#00aaaa'
white: '#aaaaaa'
bright:
black: '#555555'
red: '#ff5555'
green: '#55ff55'
yellow: '#ffff55'
blue: '#5555ff'
magenta: '#ff55ff'
cyan: '#55ffff'
white: '#ffffff'
bell:
# Ease | EaseOut EaseOutSine | EaseOutQuad | EaseOutCubic | EaseOutQuart
# EaseOutQuint | EaseOutExpo | EaseOutCirc | Linear
animation: Linear
#command:
# program: notify-send
# args: ['hi']
selection:
save_to_clipboard: false
cursor:
style:
# Block | Underline | Beam
shape: Block
# Never | Off | On | Always
blinking: Off
blink_interval: 750
unfocused_hollow: true
thickness: 0.1
live_config_reload: true
mouse:
hide_when_typing: true
# Actions: CopySelection | PasteSelection | SearchFocusNext | SearchConfirm
# SearchFocusPrevious | SearchCancel | SearchClear | SearchDeleteWord
# SearchHistoryPrevious | SearchHistoryNext | ToggleViMode
# SearchForward | SearchBackward | Copy | Paste | IncreaseFontSize
# DecreaseFontSize | ResetFontSize | ScrollPageUp | ScrollPageDown
# ScrollHalfPageUp | ScrollHalfPageDown | ScrollLineUp
# ScrollLineDown | ScrollToTop | ScrollToBottom | ClearHistory | Hide
# Minimize | Quit | ToggleFullscreen | SpawnNewInstance
# CreateNewWindow | ClearLogNotice | ClearSelection | ReceiveChar
# None | command: { program: "...", args: ['...'] }
#
# Modes: AppCursor | AppKeypad | Search | Alt | Vi
#
# Mods: Command | Control | Option | Super | Shift | Alt
key_bindings:
- { 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: 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 }
- { key: G, mode: Vi|~Search, action: ScrollToTop }
- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
- { key: Y, mode: Vi|~Search, action: Copy }
- { key: Y, mode: Vi|~Search, action: ClearSelection }
- { key: Copy, mode: Vi|~Search, action: ClearSelection }
- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
- { 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: K, mode: Vi|~Search, action: Up }
- { key: J, mode: Vi|~Search, action: Down }
- { key: H, mode: Vi|~Search, action: Left }
- { key: L, mode: Vi|~Search, action: Right }
- { key: Up, mode: Vi|~Search, action: Up }
- { key: Down, mode: Vi|~Search, action: Down }
- { key: Left, mode: Vi|~Search, action: Left }
- { key: Right, mode: Vi|~Search, action: Right }
- { key: Key0, mode: Vi|~Search, action: First }
- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
- { key: H, mods: Shift, mode: Vi|~Search, action: High }
- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
- { key: B, mode: Vi|~Search, action: SemanticLeft }
- { key: W, mode: Vi|~Search, action: SemanticRight }
- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
- { key: Slash, mode: Vi|~Search, action: SearchForward }
- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
- { key: N, mode: Vi|~Search, action: SearchNext }
- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
selection:
# 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.
save_to_clipboard: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment