Allow local configuration for tmux
This commit is contained in:
@@ -4,7 +4,7 @@ set -g bell-action any
|
||||
# Default termtype. If the rcfile sets $TERM, that overrides this value.
|
||||
set -g default-terminal screen-256color
|
||||
# set -g default-terminal "screen-256color"
|
||||
#
|
||||
|
||||
set-option -g default-command "reattach-to-user-namespace -l $SHELL -l"
|
||||
|
||||
# Keep your finger on ctrl, or don't
|
||||
@@ -26,10 +26,10 @@ bind-key L resize-pane -R
|
||||
# Use vi keybindings for tmux commandline input.
|
||||
# Note that to get command mode you need to hit ESC twice...
|
||||
set -g status-keys vi
|
||||
|
||||
|
||||
# Use vi keybindings in copy and choice modes
|
||||
setw -g mode-keys vi
|
||||
#
|
||||
|
||||
# easily toggle synchronization (mnemonic: e is for echo)
|
||||
# sends input to all panes in a given window.
|
||||
bind e setw synchronize-panes on
|
||||
@@ -72,4 +72,6 @@ bind C-a last-window
|
||||
|
||||
# Bigger history
|
||||
set -g history-limit 10000
|
||||
#
|
||||
|
||||
# Local config
|
||||
if-shell "[ -f ~/.tmux.conf.user ]" 'source ~/.tmux.conf.user'
|
||||
|
||||
Reference in New Issue
Block a user