commit af6c00b089fb5e08663bffe88bedb0cb49cded6d
parent 8914ff2f6c216d9cfd519664da0412ddf125c9af
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 20 Sep 2018 18:31:20 +0200
Add scrolling support… not yet
… needs recent alacritty version (a.k.a. 0.2.0) which.. is not yet
available on NixOS (at least on mine)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/xorg/alacritty.yml b/xorg/alacritty.yml
@@ -96,6 +96,12 @@ mouse:
triple_click: { threshold: 300 }
faux_scrollback_lines: 1
+scrolling:
+ history: 10000
+ multiplier: 3
+ faux_multiplier: 3
+ auto_scroll: false
+
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
@@ -163,13 +169,17 @@ key_bindings:
- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: Subtract, mods: Control, action: DecreaseFontSize }
+# - { key: Home, mods: Shift, action: ScrollToTop }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
+# - { key: End, mods: Shift, action: ScrollToBottom }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
+# - { key: PageUp, mods: Shift, action: ScrollPageUp }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" }
+# - { key: PageDown, mods: Shift, action: ScrollPageDown }
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
- { key: PageDown, chars: "\x1b[6~" }