tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.73k stars 90 forks source link

status-keys option is overridden by this plugin #43

Closed dylan-chong closed 6 years ago

dylan-chong commented 6 years ago

In the readme it says:

no overriding of user defined settings.
Your existing .tmux.conf settings are respected and they won't be changed.

However in my tmux.conf file, i have:

# ..
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g status-keys vi
run '~/.tmux/plugins/tpm/tpm'

My custom setting for status-keys are overridden, contradicting the readme

> tmux show -g status-keys
status-keys emacs
bruno- commented 6 years ago

I acknowledge this issue.

Please try putting set -g status-keys vi after run '~/.tmux/plugins/tpm/tpm' and things should work. (And yes run '~/.tmux/plugins/tpm/tpm' should be the last line in your .tmux.conf, but this will solve your problem)

Another suggestion is to give emacs mode a try. I'm all about vim but emacs mode really is better for single line editing. Even tpope thinks so

dylan-chong commented 6 years ago

Ah vi mode doesn't even support f and F! Ok yeah i've switched back to emacs mode

bruno- commented 6 years ago

Great, I'm closing the issue then. If someone thinks this is a problem, please report again.

d13g0 commented 1 year ago

Hey @bruno- thanks for the great work on this plugin. I think that emacs vs. vi mode is a matter of preference. My suggestion to you is not to set this but leave it to the user. Thanks.