[alacritty] switch terminal & add scrolling to it

This commit is contained in:
Felix Buehler 2018-11-12 13:06:50 +01:00
parent 41a23ea8b4
commit aeda043013
2 changed files with 5 additions and 3 deletions

View file

@ -399,14 +399,16 @@ key_bindings:
- { key: Key0, mods: Control, action: ResetFontSize } - { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: Subtract, mods: Control, action: DecreaseFontSize } - { key: Subtract, mods: Control, action: DecreaseFontSize }
- { key: Home, mods: Shift, action: ScrollToTop }
- { 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, mods: Shift, action: ScrollToBottom }
- { key: End, chars: "\x1bOF", mode: AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor } - { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Shift, action: ScrollPageUp }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" } - { key: PageUp, chars: "\x1b[5~" }
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } - { key: PageDown, mods: Shift, action: ScrollPageDown }
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
- { key: PageDown, chars: "\x1b[6~" } - { key: PageDown, chars: "\x1b[6~" }
- { key: Tab, mods: Shift, chars: "\x1b[Z" } - { key: Tab, mods: Shift, chars: "\x1b[Z" }

View file

@ -112,7 +112,7 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exit bindsym $mod+Shift+e exit
# start a terminal # start a terminal
bindsym $mod+Return exec TERMINAL=gnome-terminal i3-sensible-terminal bindsym $mod+Return exec TERMINAL=alacritty i3-sensible-terminal
# screensaver # screensaver
bindsym $mod+z exec ~/.local/bin/lockscreen -fl bindsym $mod+z exec ~/.local/bin/lockscreen -fl