tmux-continuum icon indicating copy to clipboard operation
tmux-continuum copied to clipboard

tmux-continuum showing as off

Open alathon opened this issue 9 years ago • 6 comments

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.

alathon avatar Jul 13 '16 07:07 alathon

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.

raghavendra-talur avatar Jul 14 '16 13:07 raghavendra-talur

Thanks! That seems to have done it. This should probably be added to the readme =)

alathon avatar Jul 15 '16 16:07 alathon

That's really confusing. Please add it to readme

danielkrajnik avatar Aug 18 '21 09:08 danielkrajnik

@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?

bruno- avatar Aug 18 '21 13:08 bruno-

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)

danielkrajnik avatar Aug 18 '21 13:08 danielkrajnik