-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.screenrc
33 lines (28 loc) · 1.15 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
startup_message off
msgwait 0
hardstatus alwaysignore ""
caption always "%{=r}%?%P%{.g}%?%?%E%{.r}%? %-w%n*%+w%? | %h%?%?%P | Space: select/copy Ctrl+Insert: paste q: back%?%?%E | ?: help q: back%?"
shell -bash
defshell -bash
shelltitle ""
# Bind Function keys:
bindkey -k k5 prev # F5
bindkey -k k6 next # F6
bindkey -k k7 screen # F7
bindkey -k k8 detach # F8
bindkey -k k9 kill # F9
# Scrolling, copy, paste:
defscrollback 10000
bindkey "^[[2;7~" copy # Ctrl+Alt+Insert
bindkey "^[[1;2A" eval "copy" "stuff k" # Shift+Up
bindkey "^[[1;2B" eval "copy" "stuff j" # Shift+Down
bindkey "^[[1;2D" eval "copy" "stuff h" # Shift+Left
bindkey "^[[1;2C" eval "copy" "stuff l" # Shift+Right
bindkey "^[[2;2A" eval "copy" "stuff k" # Shift+Up
bindkey "^[[2;2B" eval "copy" "stuff j" # Shift+Down
bindkey "^[[2;2D" eval "copy" "stuff h" # Shift+Left
bindkey "^[[2;2C" eval "copy" "stuff l" # Shift+Right
bindkey "^[[6;2~" eval "copy" "stuff ^b" # Shift+PageUp
bindkey "^[[5;2~" eval "copy" "stuff ^f" # Shift+PageDown
bindkey "^[[2;5~" paste . # Ctrl+Insert
#termcapinfo xterm* ti@:te@