made <prefix> e edit ~/.tmux.conf.local instead of ~/.tmux.conf
This commit is contained in:
parent
3ce560c230
commit
aa966c5708
2 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,7 @@ setw -g utf8 on
|
||||||
set -g history-limit 5000 # boost history
|
set -g history-limit 5000 # boost history
|
||||||
|
|
||||||
# edit configuration
|
# 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
|
# reload configuration
|
||||||
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||||
|
|
|
@ -26,3 +26,9 @@
|
||||||
# - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys
|
# - 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
|
# 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"
|
#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
|
||||||
|
|
Loading…
Reference in a new issue