Guest User

Untitled

a guest
Feb 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. # Use Vim shortcuts
  2. setw -g mode-keys vi
  3.  
  4. # Make `Ctrl+B R` reload the config file
  5. unbind r
  6. bind r source-file ~/.tmux.conf
  7.  
  8. set -g @plugin 'tmux-plugins/tpm'
  9. set -g @plugin 'tmux-plugins/tmux-sidebar'
  10. set -g @plugin 'tmux-plugins/tmux-sensible'
  11. set -g @plugin 'tmux-plugins/tmux-sessionist'
  12.  
  13. run '~/.tmux/plugins/tpm/tpm'
  14.  
  15. #change prefix from C-b to C-a
  16. unbind C-b
  17. set -g prefix C-a
  18.  
  19. bind C-a send-prefix
  20.  
  21. #reload tmux.conf message
  22. bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
  23. #-------------------------------------------------------#
  24.  
  25. #set -g status-bg blue
  26. set -g status-bg white
  27.  
  28. #-------------------------------------------------------#
  29. #PANE NAVIGATION/MANAGEMENT
  30. #-------------------------------------------------------#
  31. bind + split-window -h -c '#{pane_current_path}'
  32. bind - split-window -v -c '#{pane_current_path}'
  33.  
  34. # Use Alt-arrow keys WITHOUT PREFIX KEY to switch panes
  35. bind -n M-Left select-pane -L
  36. bind -n M-Right select-pane -R
  37. bind -n M-Up select-pane -U
  38. bind -n M-Down select-pane -D
  39.  
  40. #PANE COLOURS
  41. #-------------------------------------------------------#
  42. # set inactive/active window styles
  43. set -g window-style 'fg=colour247,bg=colour236'
  44. set -g window-active-style 'fg=colour250,bg=black'
  45.  
  46. #pane border
  47. set -g pane-border-bg colour235
  48. set -g pane-border-fg colour238
  49. set -g pane-active-border-bg colour236
  50. set -g pane-active-border-fg colour51
  51.  
  52. #TERMINAL ADMIN:
  53. #-------------------------------------------------------#
  54. set -g mouse on
  55.  
  56. #256 colours
  57. set -g default-terminal "screen-256color"
  58.  
  59. # start with window 1 (instead of 0)
  60. set -g base-index 1
  61.  
  62. # start with pane 1
  63. set -g pane-base-index 1
  64.  
  65. ### End of tmux.conf
Add Comment
Please, Sign In to add comment