Created
July 12, 2015 09:25
-
-
Save daisuzu/ff11f39a00a26b206c7e to your computer and use it in GitHub Desktop.
tmux.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment