Help and docs
Sign in

grindlemire/dotfiles code browser

nvim 18f6679
YAML · 126 lines · 4.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Canonical example with defaults
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml
# Requires no-quarantine to install because they don't pay Apple
# brew install --cask alacritty --no-quarantine
# Setup term for programs to be able to use it
#env:
  #TERM: xterm-256color
  #TERM: alacritty
window:
  # Spread additional padding evenly around the terminal content.
  dynamic_padding: true
  # 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: 8
    y: 3
  # Startup Mode (changes require restart)
  startup_mode: Fullscreen
# Feel free to use different font configuration family & face for each sections
font:
  # Normal font face - Also used to draw glyphs on tmux & VIM
  # NOTE: You may use any font you'd like but make sure the normal fonts
  # support ligatures/glyphs. That's used by tmux & VIM to provide a better
  # UI for powerline & tmux bottom bar.
  normal:
    # Font name
    family: MesloLGS NF
    style: Regular
    # Font face
    # style: RegularForPowerline
    #style: RegularPanther
  bold:
    family: MesloLGS NF
    style: Bold
  italic:
    family: MesloLGS NF
    style: Italic
  bold_italic:
    family: MesloLGS NF
    style: Bold-Italic
  # Font size
  size: 24.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
  # I've given in 14 spacing which fits really well with my fonts, you may change it
  # to your convenience but make sure to adjust 'glyph_offset' appropriately post that
  offset:
   x: 0
   y: 2
  # Note: This requires RESTART
  # By default when you change the offset above you'll see an issue, where the texts are bottom
  # aligned with the cursor, this is to make sure they center align.
  # This offset should usually be 1/2 of the above offset-y being set.
  glyph_offset:
   x: 0
   # Keeping this as half of offset to vertically align the text in cursor
   y: 1
  # Better font rendering for mac
  #use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
selection:
  semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
  # When set to `true`, selected text will be copied to the primary clipboard.
  save_to_clipboard: false
# Live config reload (changes require restart)
live_config_reload: true
# Setup some amazing custom key bindings here - Best thing is you can setup key bindings
# using Mac's 'command' to control your tmux.
# A great reference: https://arslan.io/2018/02/05/gpu-accelerated-terminal-alacritty/#make-alacritty-feel-like-iterm2
#key_bindings:
  # Use command + [ - to go to previous tmux window
  #- { key: LBracket, mods: Command, chars: "\x5c\x70" }
  # Use command + ] - to go to previous tmux window
  #- { key: RBracket, mods: Command, chars: "\x5c\x6e" }
  # ctrl-^ doesn't work in some terminals like alacritty
  #- { key: Key6, mods: Control, chars: "\x1e" }
# Colors (zsh slate)
# Truecolor support: https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
colors:
  # Default colors
  primary:
    background: '#232730'
    foreground: '#D8DEE9'
    dim_foreground: '#616E88'
  selection:
    text: CellForeground
    background: "#4c566a"
  search:
    matches:
      foreground: CellBackground
      background: "#88c0d0"
  # Normal colors
  normal:
    black:   '#373d49'
    red:     '#BF616A'
    green:   '#A3BE8C'
    yellow:  '#e1c181'
    blue:    '#7797b7'
    magenta: '#a983a2'
    cyan:    '#8FBCBB'
    white:   '#E5E9F0'
  # Bright colors
  bright:
    black:   '#4b515d'
    red:     '#BF616A'
    green:   '#A3BE8C'
    yellow:  '#e1c181'
    # red:     '#de878f'
    # green:   '#afca98'
    # yellow:  '#EBCB8B'
    blue:    '#83afd8'
    magenta: '#B48EAD'
    cyan:    '#88C0D0'
    white:   '#ECEFF4'
  dim:
    black:   "#373e4d"
    red:     "#94545d"
    green:   "#809575"
    yellow:  "#b29e75"
    blue:    "#68809a"
    magenta: "#8c738c"
    cyan:    "#6d96a5"
    white:   "#aeb3bb"