34 lines
677 B
Plaintext
34 lines
677 B
Plaintext
# ~/.screenrc
|
|
# GNU Screen configuration
|
|
|
|
# Disable visual bell
|
|
vbell off
|
|
bell_msg ""
|
|
|
|
# Disable hardstatus
|
|
hardstatus off
|
|
|
|
# Disable startup message
|
|
startup_message off
|
|
|
|
# Set scrollback buffer size
|
|
defscrollback 4096
|
|
|
|
# Extended window numbering (0-19 instead of 0-9)
|
|
bind ! select 10
|
|
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
|
|
|
|
# Copy buffer to system clipboard (requires xclip)
|
|
bind b eval "writebuf" 'exec !!! xclip -selection "clipboard" -i /tmp/screen-exchange'
|
|
|
|
# Disable alternate screen switching (allows scrollback in terminal)
|
|
termcapinfo xterm* ti@:te@
|