dotfiles/.tmux.conf
2019-02-10 10:01:50 +00:00

13 lines
376 B
Bash

if-shell "uname | grep -q Darwin" "source-file .tmux.macosx"
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g prefix C-a # prefix from ctrl-b to ctrl-a
unbind C-b # free ctrl-b to be used by programs inside tmux
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection