tmux_config/tmux.conf

32 lines
908 B
Bash

set -ga terminal-overrides ",xterm-256color:Tc"
set -g default-terminal tmux-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'"
unbind C-b
set -g prefix C-q
bind C-q send-prefix
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
set-window-option -g mode-keys vi
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'