Guest User

Untitled

a guest
Jul 17th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. # Make it use C-a, similar to screen..
  2. unbind C-b
  3. unbind l
  4. set -g prefix C-a
  5. bind-key C-a next-window
  6. bind-key C-d previous-window
  7.  
  8. # Split windows
  9. unbind %
  10. unbind '"'
  11.  
  12. bind - split-window -v
  13. bind _ split-window -v
  14. bind | split-window -h
  15.  
  16. # Copy mode
  17. unbind [
  18. unbind ]
  19. bind Escape copy-mode
  20. bind p paste-buffer
  21.  
  22. # Commands
  23. bind-key / command-prompt -p "man page: " "split-window 'exec man %%'"
  24. bind-key S command-prompt -p "ssh: " "new-window -n %1 'ssh %1'"
  25.  
  26. # Titles {{{
  27. set-option -g set-titles on
  28. set -g set-titles-string "tmux:#I #W"
  29. set-window-option -g automatic-rename off
  30. # }}}
  31.  
  32. # Options {{{
  33. set-option -g base-index 1
  34. set-option -g mouse-select-pane on
  35. set-option -g pane-active-border-fg black
  36. set-option -g pane-active-border-bg cyan
  37. set-option -g pane-border-fg white
  38. set-option -g pane-border-bg black
  39. set-option -g status-keys vi
  40. set-option -g history-limit 4097
  41. set-option -s escape-time 100
  42. setw -g mode-mouse on
  43. # }}}
  44.  
  45. # Reload key
  46. bind r source-file ~/.tmux.conf
  47.  
  48. set -g default-terminal "screen-256color"
  49. set -g history-limit 5000
  50.  
  51. # Theme
  52. set -g status-justify left
  53. set -g status-bg black
  54. set -g status-fg cyan
  55. set -g status-left-length 30
  56. set -g visual-activity on
  57.  
  58. setw -g window-status-current-fg white
  59.  
  60. set -g status-left '#[fg=green](#S) '
  61. set -g status-right ''
  62.  
  63. # Colors {{{
  64. set-window-option -g window-status-current-bg green
  65. set-window-option -g window-status-current-fg black
  66. set-window-option -g window-status-alert-fg black
  67. set-window-option -g window-status-alert-bg yellow
  68. # }}}
Add Comment
Please, Sign In to add comment