We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1368983 commit 8ffeb1dCopy full SHA for 8ffeb1d
.tmux.conf
@@ -24,7 +24,7 @@ setw -q -g utf8 on
24
set -g history-limit 5000 # boost history
25
26
# edit configuration
27
-bind e new-window -n "~/.tmux.conf.local" "sh -c '\${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"
+bind e new-window -n "~/.tmux.conf.local" "EDITOR=\${EDITOR//mvim/vim} && EDITOR=\${EDITOR//gvim/vim} && \${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\""
28
29
# reload configuration
30
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
0 commit comments