screenrc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # For a complete list of available commands, see http://bit.ly/jLtj
  2. # Message to display in the status line when activity is detected in a
  3. # monitored window.
  4. activity "activity in %n (%t) [%w:%s]~"
  5. # Detach session on hangup instead of terminating screen completely.
  6. autodetach on # default: on
  7. # When a bell character is sent to a background window, screen displays a
  8. # notification in the message line. The notification message can be re-defined
  9. # by this command.
  10. bell_msg "bell in %n (%t) [%w:%s]~"
  11. # This command controls the display of the window captions. Normally a caption
  12. # is only used if more than one window is shown on the display.
  13. caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
  14. # Select line break behavior for copying.
  15. crlf off # default: off
  16. # Select default utmp logging behavior.
  17. #deflogin off # default: on
  18. # Set default lines of scrollback.
  19. defscrollback 3000 # default: 100
  20. # If set to 'on', screen will append to the 'hardcopy.n' files created by the
  21. # command hardcopy; otherwise, these files are overwritten each time.
  22. hardcopy_append on # default: off
  23. # This command configures the use and emulation of the terminal's hardstatus
  24. # line. The type 'lastline' will reserve the last line of the display for the
  25. # hardstatus. Prepending the word 'always' will force screen to use the type
  26. # even if the terminal supports a hardstatus line.
  27. hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c %Y.%m.%d"
  28. msgwait 15
  29. # Set message displayed on pow_detach (when HUP is sent to screen's parent
  30. # process).
  31. pow_detach_msg "BYE"
  32. # Set the default program for new windows.
  33. shell zsh
  34. # Default timeout to trigger an inactivity notify.
  35. silencewait 30 # default: 30
  36. # Change text highlighting. See http://bit.ly/11RDGZ
  37. sorendition gK
  38. # Do NOT display copyright notice on startup.
  39. startup_message off # default: on
  40. # Set $TERM for new windows. I have more luck with 'linux' than Terminal's
  41. # default 'xterm-color' (^H problems). Comment out to use the default.
  42. term linux
  43. # Tweak termcap, terminfo, and termcapinfo entries for best performance.
  44. termcap linux 'AF=\E[3%dm:AB=\E[4%dm'
  45. termcap xterm-color 'AF=\E[3%dm:AB=\E[4%dm'
  46. terminfo linux 'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
  47. terminfo xterm-color 'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
  48. # Allow xterm / Terminal scrollbars to access the scrollback buffer. This
  49. # enables the behavior you'd expect, instead of losing the content that scrolls
  50. # out of the window.
  51. termcapinfo linux ti@:te@
  52. termcapinfo xterm-color ti@:te@
  53. # Use visual bell instead of audio bell.
  54. vbell on # default: ???
  55. # Message to be displayed when the visual bell is triggered.
  56. vbell_msg " *beep* "
  57. # default windows
  58. screen -t "controllers" 1
  59. screen -t "views" 2
  60. screen -t "models" 3
  61. screen -t "routes" 4
  62. screen -t "javascript" 5
  63. screen -t "libraries" 6
  64. screen -t "logs" 7
  65. screen -t "mysql" 8
  66. screen -t "mongo" 9
  67. screen -t "home" 0