diff --git a/tmux.conf b/tmux.conf index 2e88298..fb7f65a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -52,7 +52,7 @@ bind Enter resize-pane -Z bind C-Enter resize-pane -Z # Enable smart pane switching that's Emacs aware. -is_emacs='echo "#{pane_current_command}" | grep -iqE "(^|\/)emacs$"' +is_emacs='echo "#{pane_current_command}" | grep -iqE "(^|\/)emacs(-[^\/]+)?$"' # Use Alt-[i/k/j/l] keys without prefix key to switch panes if current pane is # not running Emacs. If the pane is running Emacs, let Emacs receive the