Add screen settings
This commit is contained in:
31
.screenrc
Normal file
31
.screenrc
Normal file
@@ -0,0 +1,31 @@
|
||||
autodetach on
|
||||
startup_message off
|
||||
|
||||
bind k other
|
||||
bind h prev
|
||||
bind l next
|
||||
bind H number -1
|
||||
bind L number +1
|
||||
|
||||
# Set up hardstatus
|
||||
hardstatus off
|
||||
hardstatus alwayslastline
|
||||
hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}'
|
||||
|
||||
# Fix the residual editor text
|
||||
altscreen on
|
||||
|
||||
# Fix for Name column in windowlist only show "bash"
|
||||
windowlist string "%4n %h%=%f"
|
||||
|
||||
# Indicate 256 color screen
|
||||
term screen-256color
|
||||
|
||||
# Bind Ctrl-A f or F for activating/deactivating hardstatus line
|
||||
bind f eval "hardstatus ignore"
|
||||
bind F eval "hardstatus alwayslastline"
|
||||
|
||||
# no visual bell
|
||||
vbell "off"
|
||||
|
||||
# eof
|
||||
Reference in New Issue
Block a user