Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # vi-style key bindings
- set-window-option -g mode-keys vi
- # enable mouse
- set-window-option -g mode-mouse on
- set-option -g mouse-select-pane on
- set-option -g mouse-resize-pane on
- set-option -g mouse-select-window on
- # tmux-powerline
- set-option -g status on
- set-option -g status-interval 2
- set-option -g status-justify "centre"
- set-option -g status-left-length 60
- set-option -g status-right-length 90
- set-option -g status-left "#(~/.tmux/tmux-powerline/powerline.sh left)"
- set-option -g status-right "#(~/.tmux/tmux-powerline/powerline.sh right)"
- # # powerline
- # run-shell "powerline-daemon -q"
- # source "${HOME}/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
- # new-window with current path
- bind '"' split-window -vc "#{pane_current_path}"
- bind '%' split-window -hc "#{pane_current_path}"
- bind 'c' new-window -c "#{pane_current_path}"
- # binding to kill
- bind k kill-pane
- bind K kill-window
- # plugins
- set -g @plugin 'tmux-plugins/tpm'
- set -g @plugin 'tmux-plugins/tmux-sensible'
- run '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement