From 2a7088927e5e193b0cdd8d3c7a11f75f123327a7 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Tue, 26 Oct 2021 11:46:05 +0200 Subject: [PATCH] Restrict tmux history, disable old hotkeys --- tmux/.tmux.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index cc27e61..24c3c1e 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,7 +1,7 @@ set-environment -g PATH "/usr/local/bin:/bin:/usr/bin" set -g default-terminal "xterm-256color" -set -g history-limit 999999999 +set -g history-limit 100000 # Remap prefix unbind C-b @@ -13,8 +13,6 @@ bind-key -n C-b send-keys C-b setw -g mode-keys vi set-option -g status-keys vi -bind-key -n C-E split-window -h -bind-key -n C-O split-window -v bind | split-window -h -c '#{pane_current_path}' bind - split-window -v -c '#{pane_current_path}' @@ -61,7 +59,7 @@ bind-key C-o send-keys C-o # move x clipboard into tmux paste buffer bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer" # move tmux copy buffer into x clipboard -set-option -s set-clipboard off +set-option -s set-clipboard on if '[ `uname` == Darwin ]' \ 'source-file ~/.tmux/.mac_config'