Restrict tmux history, disable old hotkeys

This commit is contained in:
Fabian Ising
2021-10-26 11:46:05 +02:00
parent 8477174295
commit 2a7088927e

View File

@@ -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'