diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 0fad644..bdb9d71 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -31,6 +31,10 @@ window: x: 15 y: 15 + + # Spread additional padding evenly around the terminal content. + dynamic_padding: false + # Window decorations # # Values for `decorations`: @@ -38,6 +42,17 @@ window: # - none: Neither borders nor title bar 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: # Maximum number of lines in the scrollback buffer. # Specifying '0' will disable scrolling. @@ -66,7 +81,7 @@ scrolling: # 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 # change the `it` value in terminfo when altering this setting. -tabspaces: 8 +tabspaces: 4 # Font configuration (changes require restart) # @@ -120,8 +135,9 @@ font: x: 0 y: 0 -# Display the time it takes to redraw each frame. -render_timer: false +debug: + # Display the time it takes to redraw each frame. + render_timer: false # If `true`, bold text is drawn using the bright color variants. draw_bold_text_with_bright_colors: true @@ -148,6 +164,15 @@ colors: text: '0xeceff1' 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: black: '0x333638' @@ -367,9 +392,9 @@ key_bindings: - { key: Q, mods: Command, action: Quit } - { key: W, mods: Command, action: Quit } - { key: Insert, mods: Shift, action: PasteSelection } - - { key: Key0, mods: Control, action: ResetFontSize } - - { key: Equals, mods: Control, action: IncreaseFontSize } - - { key: Subtract, mods: Control, action: DecreaseFontSize } + - { key: Equals, mods: Control, action: ResetFontSize } + - { key: Add, mods: Control|Shift, action: IncreaseFontSize } + - { key: Subtract, mods: Control|Shift, action: DecreaseFontSize } - { key: Home, chars: "\x1bOH", mode: AppCursor } - { key: Home, chars: "\x1b[H", mode: ~AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor }