Skip to content

Commit

Permalink
fixed <prefix>+e not working when EDITOR is set to 'emacsclient -t' a…
Browse files Browse the repository at this point in the history
…nd the default shell is zsh, fixes #591
  • Loading branch information
gpakosz committed Aug 18, 2022
1 parent b620a4f commit 5fa30de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ setw -q -g utf8 on
set -g history-limit 5000 # boost history

# edit configuration
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\""
bind e new-window -n "~/.tmux.conf.local" sh -c 'EDITOR=${EDITOR//mvim/vim} && EDITOR=${EDITOR//gvim/vim} && ${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'
Expand Down

0 comments on commit 5fa30de

Please sign in to comment.