Advertisement
Guest User

screenrc

a guest
Jun 27th, 2010
1,880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.96 KB | None | 0 0
  1. # make bash our shell
  2. shell /bin/bash
  3.  
  4. # detach on hangup
  5. autodetach on
  6.  
  7. # don't display copyright page
  8. startup_message off
  9.  
  10. #should resolve some "can't find display" issues
  11. setenv DISPLAY ':0'
  12.  
  13. # scroll back
  14. defscrollback 5000
  15.  
  16. # setup the caption
  17. hardstatus alwayslastline "%{-b gk}%-w%{+b kg}%50>%n %t%{-b gk}%+w %=%Y-%m-%d %c%<"
  18.  
  19. # Set the altscreen so that when you quit vi, it will go back to
  20. # what it was before
  21. altscreen on
  22.  
  23. # a do-nothing bind so ^a s doesn't suspend screen
  24. bind s
  25.  
  26. # for switching between regions
  27. # ^k no longer kills a window, but ^K still does
  28. bind j focus down
  29. bind ^j focus down
  30. bind k focus up
  31. bind ^k focus up
  32.  
  33. #visual bell on
  34. vbell on
  35.  
  36. #set bindings so we can easily access windows 10-18
  37. bind  ) select 10
  38. bind  ! select 11
  39. bind  @ select 12
  40. bind \# select 13
  41. bind \$ select 14
  42. bind  % select 15
  43. bind \^ select 16
  44. bind  & select 17
  45. bind  * select 18
  46. bind  ( select 19
  47.  
  48. # reminder: ^X deletes a region
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement