1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

alacritty: update config

This commit is contained in:
Joe Groocock 2019-09-15 11:32:08 +01:00
parent 8f969737ed
commit e17ebf0201
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -31,6 +31,10 @@ window:
x: 15 x: 15
y: 15 y: 15
# Spread additional padding evenly around the terminal content.
dynamic_padding: false
# Window decorations # Window decorations
# #
# Values for `decorations`: # Values for `decorations`:
@ -38,6 +42,17 @@ window:
# - none: Neither borders nor title bar # - none: Neither borders nor title bar
decorations: full decorations: full
# Startup Mode (changes require restart)
#
# Values for `startup_mode`:
# - Windowed
# - Maximized
# - Fullscreen
#
# Values for `startup_mode` (macOS only):
# - SimpleFullscreen
startup_mode: Windowed
scrolling: scrolling:
# Maximum number of lines in the scrollback buffer. # Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling. # Specifying '0' will disable scrolling.
@ -66,7 +81,7 @@ scrolling:
# Some applications, like Emacs, rely on knowing about the width of a tab. # Some applications, like Emacs, rely on knowing about the width of a tab.
# To prevent unexpected behavior in these applications, it's also required to # To prevent unexpected behavior in these applications, it's also required to
# change the `it` value in terminfo when altering this setting. # change the `it` value in terminfo when altering this setting.
tabspaces: 8 tabspaces: 4
# Font configuration (changes require restart) # Font configuration (changes require restart)
# #
@ -120,8 +135,9 @@ font:
x: 0 x: 0
y: 0 y: 0
# Display the time it takes to redraw each frame. debug:
render_timer: false # Display the time it takes to redraw each frame.
render_timer: false
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true draw_bold_text_with_bright_colors: true
@ -148,6 +164,15 @@ colors:
text: '0xeceff1' text: '0xeceff1'
cursor: '0x5294e2' cursor: '0x5294e2'
# Selection colors
#
# Colors which should be used to draw the selection area. If selection
# background is unset, selection color will be the inverse of the cell colors.
# If only text is unset the cell text color will remain the same.
selection:
background: '0x5294e2'
# text: '0xeaeaea'
# Normal colors # Normal colors
normal: normal:
black: '0x333638' black: '0x333638'
@ -367,9 +392,9 @@ key_bindings:
- { key: Q, mods: Command, action: Quit } - { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit } - { key: W, mods: Command, action: Quit }
- { key: Insert, mods: Shift, action: PasteSelection } - { key: Insert, mods: Shift, action: PasteSelection }
- { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Add, mods: Control|Shift, action: IncreaseFontSize }
- { key: Subtract, mods: Control, action: DecreaseFontSize } - { key: Subtract, mods: Control|Shift, action: DecreaseFontSize }
- { key: Home, chars: "\x1bOH", mode: AppCursor } - { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor } - { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor }