Guest User

Untitled

a guest
Jan 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. startup_message off
  2. #termcapinfo xterm*|Eterm|mlterm|rxvt 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'
  3. termcapinfo rxvt-unicode ti@:te@ #enable SHIFT-PGUP / SHIFT-PGDOWN scroll
  4. #termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
  5. terminfo rxvt-unicode ti@:te@:
  6.  
  7. defutf8 on
  8. setenv DISPLAY ':0'
  9. nonblock on
  10. vbell off
  11. msgwait 10
  12. shelltitle ''
  13. #defmonitor on
  14. escape ^aA
  15. termcapinfo xterm|xterms|xs|rxvt ti@:te@
  16. bell_msg "^G"
  17. screen -t 'SHELL' 1
  18. screen -t 'SHELL' 2
  19. screen -t 'SHELL' 3
  20. screen -t 'SHELL' 4
  21. screen -t 'SHELL' 5
  22.  
  23. select 1
  24.  
  25.  
  26. bind q writebuf
  27. bind = resize =
  28. bind + resize +1
  29. bind - resize -1
  30. bind _ resize max
  31. bind c screen 1 # Window numbering starts at 1, not 0.
  32. bind 0 select 10
  33. # make life easier, f1-f7 selects screens 0-7
  34. bindkey -k k1 select 1
  35. bindkey -k k2 select 2
  36. bindkey -k k3 select 3
  37. bindkey -k k4 select 4
  38. bindkey -k k5 select 5
  39. bindkey -k k6 select 6
  40. bindkey -k k7 select 7
  41. bindkey -k k8 select 1
  42. bindkey -k k9 prev
  43. bindkey -k k0 select 1
  44. # windows select with Shift-Fn. May not work in all terminals.
  45. # (screen only seems to understand up to FA)
  46. bindkey -k F3 select 1
  47. bindkey -k F4 select 2
  48. bindkey -k F5 select 3
  49. bindkey -k F6 select 4
  50. bindkey -k F7 select 5
  51. bindkey -k F8 select 6
  52. bindkey -k F9 select 1
  53. bindkey -k FA select 1
  54. #bindkey -k k7 detach # bind F7 to detach screen session from this terminal
  55. #bindkey -k k8 kill # bind F8 to kill current screen window.
  56. #bindkey -k k9 prev # bind F9 to move to previous window
  57. bindkey -k F1 prev # bind F11 to move to next window
  58. bindkey -k F2 next
  59. #bindkey -k F2 hardstatus alwaysignore # F12 to turn the status bar on
  60. #bindkey -k k9 screen # bind F9 to create a new screen
  61. #bindkey -k k; title # bind F10 to rename current screen window
  62. #bindkey -k F11 prev # bind F11 to move to previous window
  63. #bindkey -k F12 next # bind F12 to move to next window
  64. bindkey "^[Od" prev # change window with ctrl-left
  65. bindkey "^[Oc" next # change window with ctrl-right
  66.  
  67. #let pgup/pgdn scroll under urxvt (see .Xdefaults)
  68. bindkey "^[[5;2~" eval "copy" "stuff ^u"
  69. bindkey -m "^[[5;2~" stuff ^u
  70. bindkey -m "^[[6;2~" stuff ^d
  71.  
  72. # An alternative hardstatus to display a bar at the bottom listing the
  73. # windownames and highlighting the current windowname in blue. (This is only
  74. # enabled if there is no hardstatus setting for your terminal)
  75. hardstatus on
  76. hardstatus alwayslastline
  77. #hardstatus string "%w"
  78. #hardstatus string "%{.kW}%-w%{.W}%n %t%{-}%+w"
  79. #hardstatus string "%{.kW}%-w%{.W}%n %t%{-}%+w %=%c %d/%m/%Y" #black+white+bold
  80. #hardstatus string "%{.kw}%-w%{.w}%n %t%{-}%+w %=%c %d/%m/%Y" #black+white+normal
  81. #hardstatus string "%{.kw}%-w%{.Kw}%n %t%{-}%+w %=%c %d/%m/%Y" #black+grey+normal
  82. #hardstatus string "%{.kc}%-w%{.kc}%n*%t%{-}%+w %=%c %d/%m/%Y" #black+cyan+normal
  83. hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %= %2` %3`/%4` %6`/%7` %5`/%9` %c %d/%m/%Y" #black+cyan+normal+white selected
  84. #hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %= | %1` | %2`C | %3`/%4` | %6`/%7` | %5` | %c %d/%m/%Y" #with dwm status bar
  85. #hardstatus string '%{= kB}%-Lw%{+r}%50> %n%f* %t%{= kB}%+Lw%< %{= kB}%-= %{-}'
  86. #hardstatus alwayslastline '%{bk}[ %{W}%H %{b}][ %{w}%l%{b} ] %{b}[%{w} %D %d.%m %c:%s%{b} ]'
  87. sorendition kw
  88.  
  89.  
  90. #caption always '%{= dg} %H %{G}| %{B}%l %{G}|%=%?%{d}%-w%?%{r}(%{d}%n %t%? {%u} %?%{r})%{d}%?%+w%?%=%{G}| %{B}%M %d %c:%s '
Add Comment
Please, Sign In to add comment