-
Notifications
You must be signed in to change notification settings - Fork 0
/
.screenrc
62 lines (49 loc) · 1.35 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# ~/.screenrc
#
# Modified .screenrc for myself!
#
# Author: Giacomo Gatelli <[email protected]>
# Original Author: Aaron Schaefer <[email protected]>
# Original Author: Miles Z. Sterrett <[email protected]>
#
# Settings used to initialize screen sessions
term screen-256color
# Auto detach instead of killing screen
autodetach on
# Change default escape sequence from C-a to a backslash`
escape ``
# Do not display the copyright page
startup_message off
# Change the number of scrollback lines
defscrollback 1000
# Ensure the default shell is the same as the $SHELL environment variable
shell -$SHELL
# Make navigating between regions easier
bind s split
bind v split -v
# Use Shirt + $arrow to move through regions
bindkey ^[[1;2D focus up
bindkey ^[[1;2C focus down
bindkey ^[[1;2A focus top
bindkey ^[[1;2B focus bottom
# Zero-indexing is a pain when using ` as an escape char
bind 1 select 0
bind 2 select 1
bind 3 select 2
bind 4 select 3
bind 5 select 4
bind 6 select 5
bind 7 select 6
bind 8 select 7
bind 9 select 8
# Make resizing regions easier
bind = resize =
bind + resize +10
bind - resize -10
# Configure status bar at the bottom of the terminal
hardstatus alwayslastline
hardstatus string "%{= kw}[ %{+b B}%H%{-b w} ][ %?%-Lw%?%{BW} %n %{+b}%t%{-b} {kw}%?%+Lw%?%?%= %{w}]"
# Turn off the fucking visual bell
vbell off
# End of file