-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.screenrc
More file actions
66 lines (61 loc) · 2.15 KB
/
.screenrc
File metadata and controls
66 lines (61 loc) · 2.15 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
#####################################################################
# .screenrc by Niko Riitala <nri@iki.fi>. Twitter: @nikoriitala #
# No copyright, feel free to use this, as you like. #
#####################################################################
# main
autodetach on
startup_message off
escape ^Aa
vbell off
escape ^Zz
# keep dead windows around until i tell them to exit
zombie cr
nethack on
defscrollback 5000
backtick 1 60 60 $HOME/scripts/uniqueusers.sh
term xterm
# HARDSTATUS
hardstatus alwayslastline
# neat version control ;)
# for os x
# hardstatus string '%{= 9}%{g}[ %{+b y}%H %{-b g}- %{+b 1}Darwin/BSD %{-b g}] %{= 9}%-Lw%{= 9}%50> %{w}%n*%f %t%{= 9}%+Lw%< %{= 9}%-= users: %{y}%1` %{g}[ %{W}%D %{C}%d.%m.%Y %{W}%c %{g}]'
# for real operating systems
#hardstatus string '%{= 9}%{g}[ %{+b y}%H %{-b g}] %{= 9}%-Lw%{= 9}%50> %{w}%n*%f %t%{= 9}%+Lw%< %{= 9}%-= users: %{y}%1` %{g}[ %{W}%D %{C}%d.%m.%Y %{W}%c %{g}]'
#hardstatus string '%{= 9}%{g}[ %{+b y}%H %{-b g}] %{= 9}%-Lw%{= 9}%50> %{w}%n*%f %t%{= 9}%+Lw%< %{= 9}%-= usr: %{y}%1` %{g}[ %{W}%D %{C}%d.%m.%Y %{W}%c %{g}]'
hardstatus string '%{= 9}%{w}%-Lw%{r}[%{W}% %{g}%t%{r}]%{= 9}%{w}%+Lw%<%{= 9}%-=%{Y}%H%{g}|%{w}u:%{y}%1`%{g}|%{w}%D %{W}%d.%m.%Y %{Y}%c'
# SCREEN WINDOWS
#screen -t vitunes 0 vitunes # os x legacy
#screen -t todo 1 vi $HOME/todo.todo
shelltitle "$ |zsh"
#screen -t vim 2 vim
#chdir $HOME
#screen -t sys 5 nice top -o cpu -O rsize -s 5 -n 10 -stats pid,command,cpu,rsize
#select 1
# KEYBINDINGS
bind ' ' windowlist -b
#bindkey "[26~" prev # f14
bindkey "[1;3D" prev # f14
#bindkey "[28~" next # f15
bindkey "[1;3C" next # f15
bind = resize =
bind + resize +1
bind - resize -1
bind _ resize max
bindkey "0" select 0
bindkey "1" select 1
bindkey "2" select 2
bindkey "3" select 3
bindkey "4" select 4
bindkey "5" select 5
bindkey "6" select 6
bindkey "7" select 7
bindkey "8" select 8
bindkey "9" select 9
# MOUSEWHEEL
# termcapinfo xterm* ti@:te@
# allow bold colors
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"