Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. # remap prefix to Ctrl + a
  2. set -g prefix C-a
  3. # free Ctrl + b
  4. unbind C-b
  5. # makes sure that we can send Ctrl-A to other apps
  6. bind C-a send-prefix
  7.  
  8. # splitting panes
  9. bind | split-window -h
  10. bind - split-window -v
  11.  
  12. # moving between panes
  13. bind h select-pane -L
  14. bind j select-pane -D
  15. bind k select-pane -U
  16. bind l select-pane -R
  17.  
  18. # force a reload to the config file
  19. unbind r
  20. bind r source-file ~/.tmux.conf
  21.  
  22. # pane resizing
  23. bind -r H resize-pane -L 5
  24. bind -r J resize-pane -D 5
  25. bind -r K resize-pane -U 5
  26. bind -r L resize-pane -R 5
  27.  
  28. # mouse support
  29. setw -g mode-mouse on
  30. set -g mouse-select-pane on
  31. set -g mouse-resize-pane on
  32. set -g mouse-select-window on
  33.  
  34. set -g default-terminal "screen-256color"
  35.  
  36. # set status bar
  37. set -g status-bg blue
  38. set -g status-fg white
  39. set -g status-left ‘#[fg=green]#H’
  40. set-window-option -g window-status-current-bg red
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement