set -g default-terminal "xterm" # Set mouse set -g mouse on # reload .tmux.conf bind r source-file ~/.tmux.conf # Splitting terminals using | and - unbind '"' unbind % bind - split-window -v bind | split-window -h # Set clipboard bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" # Switch panes bind -n M-Le..