mirror of
1
0
Fork 0

made <prefix> e edit ~/.tmux.conf.local instead of ~/.tmux.conf

This commit is contained in:
Gregory Pakosz 2015-10-11 17:54:46 +02:00
parent 3ce560c230
commit aa966c5708
2 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,7 @@ setw -g utf8 on
set -g history-limit 5000 # boost history
# edit configuration
bind e new-window -n '~/.tmux.conf' "sh -c '\${EDITOR:-vim} ~/.tmux.conf && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"
bind e new-window -n '~/.tmux.conf.local' "sh -c '\${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"
# reload configuration
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'

View File

@ -26,3 +26,9 @@
# - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys
# then uncomment the following line to make Meta + arrow keys mapping work
#set -g terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D"
# ------------------------------------------------------------------------------
# this is the place to further customize tmux's configuration
#set -g history-limit 10000