-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenrc
More file actions
73 lines (52 loc) · 1.61 KB
/
Copy pathscreenrc
File metadata and controls
73 lines (52 loc) · 1.61 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
### GNU Screen Configuration File
#
# This file controls the behavior of `screen`. Install to ~/.screenrc, and run
# `mkdir -p ~/.screen/{caps,logs}`.
#
###
### General Configuration Options
# Suppress trailing blank lines when scrolling up in the history buffer.
compacthist on
# Enable logging.
deflog on
# Enable activity monitoring for windows.
defmonitor on
# Deal with dead terminals.
defnonblock on
# Save lots of scrollback.
defscrollback 50000
# Save all screen captures to ~/.screen/caps.
hardcopydir "~/.screen/caps"
# Ignore case when searching.
ignorecase on
# Log to ~/.screen/logs.
logfile "~/.screen/logs/screenlog.%n"
# Enable timestamps in the log file.
logtstamp on
# Set the colors for screen messages to default on blue background.
sorendition = bd
# Disable the startup splash message.
startup_message off
### Status Line Configuration Options
# Always display the caption line. Displays the:
# %H - hostname
# %l - current load
# %Y-%m-%d - year-month-day
# %C:%s %A - 12 hour time + AM/PM
# %u - other users on this window (if any)
caption always "%=%{= c}[%{=b d}%H%{= c}] [%{=b d}%l%{= c}] [%{=b d}%Y-%m-%d%C:%s %A%{= c}]%="
# Force the status line to be the last line. Displays the:
# %-w - all window numbers and names up to the current window
# %n - current window number
# %t - current window title
# %+w - all window numbers and names following the current window
hardstatus alwayslastline "%{= dd}%=%-w%{=b d}[%n %t]%{= dd}%+w%="
### Key Bindings
bind u windowlist -b
bind K kill
bind ; colon
# vim-style movement keys.
bind j focus down
bind k focus up
bind t focus top
bind b focus bottom