Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. # vi-style key bindings
  2. set-window-option -g mode-keys vi
  3.  
  4. # enable mouse
  5. set-window-option -g mode-mouse on
  6. set-option -g mouse-select-pane on
  7. set-option -g mouse-resize-pane on
  8. set-option -g mouse-select-window on
  9.  
  10. # tmux-powerline
  11. set-option -g status on
  12. set-option -g status-interval 2
  13. set-option -g status-justify "centre"
  14. set-option -g status-left-length 60
  15. set-option -g status-right-length 90
  16. set-option -g status-left "#(~/.tmux/tmux-powerline/powerline.sh left)"
  17. set-option -g status-right "#(~/.tmux/tmux-powerline/powerline.sh right)"
  18.  
  19. # # powerline
  20. # run-shell "powerline-daemon -q"
  21. # source "${HOME}/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
  22.  
  23. # new-window with current path
  24. bind '"' split-window -vc "#{pane_current_path}"
  25. bind '%' split-window -hc "#{pane_current_path}"
  26. bind 'c' new-window -c "#{pane_current_path}"
  27.  
  28. # binding to kill
  29. bind k kill-pane
  30. bind K kill-window
  31.  
  32. # plugins
  33. set -g @plugin 'tmux-plugins/tpm'
  34. set -g @plugin 'tmux-plugins/tmux-sensible'
  35. run '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement