commit 176516e72db3365a22ff52b7bf176f0e659ee3b3 Author: Yorick Date: Tue May 23 12:16:58 2017 +0200 Tmux 2.4 changes diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..2e637d5 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,28 @@ +set -g default-terminal "screen-256color" +setw -g aggressive-resize on +set -g set-titles on +set -g set-titles-string "#T" +bind R source-file ~/.tmux.conf \; display-message " Config reloaded..." +set -g mouse on +bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" + +setw -g mode-keys vi +set-window-option -g mode-keys vi + +unbind [ +bind Escape copy-mode +unbind p +bind p paste-buffer +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection + +# List of my plugins +set -g @plugin 'jimeh/tmux-themepack' + +#themepack pluging parameters +set -g @themepack 'default/blue' + +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'" + +run '~/.tmux/plugins/tpm/tpm'