Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Set the default window name to empty string instead of the arbitrary "bash"
- #shelltitle '% |bash'
- shell -bash
- #termcapinfo xterm* ti@:te@
- term xterm
- #term screen-256color
- #escape ^Bb # Instead of Control-a, make the escape/command character be Control-b
- # Set the window caption.
- # I use caption instead of hardstatus, so it is available per split window too
- # (hardstatus is only per complete screen).
- caption always "%{= KW}%-Lw%{= wb}%n %t %{= KW}%+Lw %-=| ${USER}@%H | %M%d %c%{-}"
- # Some decryption hints:
- # %{= KW} background light black (aka dark gray) with foreground light white
- # %{= wb} background dark white (ake light gray) with foreground dark blue
- # %-Lw all windows before the current window.
- # %n%f %t current window number, flags and title.
- # %+Lw all windows after the current window.
- # %-= pad remaining spaces.
- # %H hostname.
- # %M%d %s month and day (MmmDD) and current time (HH:MM).
- startup_message off
- defscrollback 4096
- defencoding UTF-8
- #bindkey -k k5 prev # F5 for previous window
- #bindkey -k k6 next # F6 for next window
- bindkey ^[[1;3D eval "prev"
- bindkey ^[[1;3C eval "next"
- bindkey ^[[5;3~ eval "copy" "stuff ^b" # alt-page-up goes to copy mode and pg-up
- bindkey ^[[6;3~ eval "copy" "stuff ^f" # alt-page-down goes to copy mode and pg-dn
- bindkey -m ^[[5;3~ stuff "^b" # in copy mode alt-page-up sends pg-up
- bindkey -m ^[[6;3~ stuff "^f" # in copy mode alt-page-down sends pg-dn
- # Fix screen@ubuntu bug https://bugs.launchpad.net/ubuntu/+source/screen/+bug/29787
- bindkey -d ^@ stuff ^?
- multiuser on
- aclchg guest -wx "#,?"
- aclchg guest +x "colon,wall,detach"
Advertisement
Add Comment
Please, Sign In to add comment