-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscreenrc
37 lines (26 loc) · 995 Bytes
/
screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
defscrollback 2000
startup_message off
mousetrack on
# Fix to clean up residual editor text and etc.
altscreen on
# 256 colors
term screen-256color
# the following two lines give a 1-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# get rid of silly xoff stuff
bind s split
# annoying msgs don't last that much on the status line
msgminwait 0
msgwait 1
# shortcut (Ctrl-/) for closing screen completely
bindkey "^_" quit
# shortcuts for copying (scrollback) and pasting
bindkey "^[[23;5~" copy # Ctrl-F11 initiates copy mode
bindkey "^[[24;5~" paste . # Ctrl-F12 pastes the screen buffer
# navigation and region management keybindings
source navbindings.rc
# bindings to activate scripts
source script-bindings.rc
# finally, any possible user-defined personalizations
source "~/.screen-personalizations/screen-personalizations"