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

This commit is contained in:
Gregory Pakosz
2015-10-11 20:37:58 +02:00
parent 3ce560c230
commit aa966c5708
2 changed files with 7 additions and 1 deletions
+1 -1
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'