tmux-continuum
tmux-continuum copied to clipboard
tmux-continuum showing as off
I've installed tmux-ressurect and tmux-continuum via plugins. In my .tmux.conf I have the following:
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-ressurect'
set -g @continuum-restore 'on' set -g status-right 'Continuum: #{continuum_status}'
set -g @resurrect-strategy-vim 'session' set -g @resurrect-capture-pane-contents 'on'
Normal ressurection works via explicit keybindings for it. However, continuum seems to never turn on - After I added the status to the tmux line, I can see that its only ever set to 'Off' :/ Any hints?
I'm running Linux Mint, and Tmux v. 2.2.
I faced the same issue. The docs don't talk about it but auto save is off by default. Once I add set -g @continuum-save-interval '10' in my tmux.conf and reload config, I am able to see the status as 10.
Thanks! That seems to have done it. This should probably be added to the readme =)
That's really confusing. Please add it to readme
@continuum-save-interval is (or should be) set to 15 by default
https://github.com/tmux-plugins/tmux-continuum/blob/6e58336c288958a3b1ff7773fb945770126db16e/scripts/variables.sh#L7-L8
If it's not set, then that's a bug that should be fixed. Can anyone provide repro steps?
1.default, fresh installation of tmux 2. add this to .tmux.conf:
`set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @continuum-restore 'on'
set -g status-right 'Continuum: #{continuum_status}'
run '~/.tmux/plugins/tpm/tpm' ` 3. reload plugins (prefix, shift+I) 4. source tmux.conf
without adding set -g @continuum-save-interval '1' status will be off and for me also not working (but maybe would have worked after 15 minutes, haven't checked that)