On Thu, Feb 15, 2024 at 04:21:03PM +0000, Philip Chung  wrote:
> The original behavior I reported seems to come from how I invoked
> tmux, which was actually through xfce4-terminal ("xfce4-terminal -x
> tmux"), and for some reason the EDITOR variable I export in .bashrc is
> not being set there for tmux to read. When I start a new tmux server
> from a shell with the variable set, mode-keys is set to vi as
> expected.

In that situation xfce4-terminal executes tmux directly, it's not going
through your shell at all. You can however use the trick of running
`bash -c tmux` or similar to force tmux to be launched from a shell, if
that helps.

-- 
Romain Francoise <[email protected]>
https://people.debian.org/~rfrancoise/

Reply via email to