2017-02-12 11:47:30 +00:00
|
|
|
if-shell "uname | grep -q Darwin" "source-file .tmux.macosx"
|
2016-10-12 20:16:18 +01:00
|
|
|
set -g mouse on
|
2014-06-08 08:12:09 +01:00
|
|
|
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
2015-10-11 08:17:25 +01:00
|
|
|
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
|
2014-06-08 08:12:09 +01:00
|
|
|
|
2019-02-10 10:01:50 +00:00
|
|
|
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
|
|
|
|
|