diff options
Diffstat (limited to 'alacritty_macos.yml')
-rw-r--r-- | alacritty_macos.yml | 48 |
1 files changed, 37 insertions, 11 deletions
diff --git a/alacritty_macos.yml b/alacritty_macos.yml index e3e57b86..05173e6a 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -31,6 +31,29 @@ window: # Setting this to false will result in window without borders and title bar. decorations: true +scrolling: + # How many lines of scrollback to keep, + # '0' will disable scrolling. + history: 10000 + + # Number of lines the viewport will move for every line + # scrolled when scrollback is enabled (history > 0). + multiplier: 3 + + # Faux Scrolling + # + # The `faux_multiplier` setting controls the number + # of lines the terminal should scroll when the alternate + # screen buffer is active. This is used to allow mouse + # scrolling for applications like `man`. + # + # To disable this completely, set `faux_multiplier` to 0. + faux_multiplier: 3 + + # Automatically scroll to the bottom when new text is written + # to the terminal. + auto_scroll: false + # Display tabs using this many cells (changes require restart) tabspaces: 8 @@ -200,16 +223,6 @@ mouse: double_click: { threshold: 300 } triple_click: { threshold: 300 } - # Faux Scrollback - # - # The `faux_scrollback_lines` setting controls the number - # of lines the terminal should scroll when the alternate - # screen buffer is active. This is used to allow mouse - # scrolling for applications like `man`. - # - # To disable this completely, set `faux_scrollback_lines` to 0. - faux_scrollback_lines: 1 - selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>" @@ -269,7 +282,18 @@ live_config_reload: true # around them. # # Either an `action`, `chars`, or `command` field must be present. -# `action` must be one of `Paste`, `PasteSelection`, `Copy`, or `Quit`. +# `action` must be one of the following: +# - `Paste` +# - `PasteSelection` +# - `Copy` +# - `IncreaseFontSize` +# - `DecreaseFontSize` +# - `ResetFontSize` +# - `ScrollPageUp` +# - `ScrollPageDown` +# - `ScrollToTop` +# - `ScrollToBottom` +# - `Quit` # `chars` writes the specified string every time that binding is activated. # These should generally be escape sequences, but they can be configured to # send arbitrary strings of bytes. @@ -291,6 +315,8 @@ key_bindings: - { key: Key0, mods: Command, action: ResetFontSize } - { key: Equals, mods: Command, action: IncreaseFontSize } - { key: Minus, mods: Command, action: DecreaseFontSize } + - { key: K, mods: Command, action: ClearHistory } + - { key: K, mods: Command, chars: "\x0c" } - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } |