Restrict tmux history, disable old hotkeys
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
set-environment -g PATH "/usr/local/bin:/bin:/usr/bin"
|
set-environment -g PATH "/usr/local/bin:/bin:/usr/bin"
|
||||||
set -g default-terminal "xterm-256color"
|
set -g default-terminal "xterm-256color"
|
||||||
|
|
||||||
set -g history-limit 999999999
|
set -g history-limit 100000
|
||||||
|
|
||||||
# Remap prefix
|
# Remap prefix
|
||||||
unbind C-b
|
unbind C-b
|
||||||
@@ -13,8 +13,6 @@ bind-key -n C-b send-keys C-b
|
|||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
set-option -g status-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 -h -c '#{pane_current_path}'
|
||||||
bind - split-window -v -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
|
# move x clipboard into tmux paste buffer
|
||||||
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
|
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
|
||||||
# move tmux copy buffer into x clipboard
|
# move tmux copy buffer into x clipboard
|
||||||
set-option -s set-clipboard off
|
set-option -s set-clipboard on
|
||||||
|
|
||||||
if '[ `uname` == Darwin ]' \
|
if '[ `uname` == Darwin ]' \
|
||||||
'source-file ~/.tmux/.mac_config'
|
'source-file ~/.tmux/.mac_config'
|
||||||
|
|||||||
Reference in New Issue
Block a user