-
Notifications
You must be signed in to change notification settings - Fork 0
/
.screenrc
46 lines (35 loc) · 1.02 KB
/
.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
37
38
39
40
41
42
43
44
45
46
# Inspired by
# http://serverfault.com/questions/3740/what-are-useful-screenrc-settings
# Don't display the copyright page
startup_message off
# tab-completion flash in heading bar
vbell off
# keep scrollback n lines
defscrollback 10000
# Wouldn't it be great if full-screen programs (emacs, etc) go away completely just like they do when you're not running screen?
altscreen on
# Source the ~/.bashrc
shell -$SHELL
# status bar
hardstatus alwayslastline "%{b kw}%H %{r}%1` %{w}| %{g}%c %{w}| %{y}%m.%d.%Y %{w}| %{g}%l %{w}| %{-b kw}%u %-Lw%{= rW}%50> %n%f %t %{-}%+Lw%<"
# switch to screens above 0-9
bind ! select 11
bind @ select 12
bind \# select 13
bind $ select 14
bind % select 15
bind \^ select 16
bind & select 17
bind * select 18
bind ( select 19
bind ) select 10
# PREVIOUS WINDOW
# Ctrl + Alt + Left from gnome-terminal
bindkey ^[[1;7C prev
# Ctrl+Alt+Left from putty
bindkey ^[^[[D prev
# NEXT WINDOW
# Ctrl + Alt + Right from gnome-terminal
bindkey ^[[1;7D next
# Ctrl+Alt+Right from putty
bindkey ^[^[[C next