Giter Club home page Giter Club logo

Comments (8)

bruno- avatar bruno- commented on August 17, 2024 2

But it is managed by vim-tmuxline so maybe the mechanism is the same. Maybe it doesn't work if there's any custom status?? seems unlikely.

tmux-continuum is triggered by a script ran from a tmux's status line. If vim-tmuxline overrides tmux status line, that's likely the cause why tmux-continuum is not triggered.

from tmux-continuum.

michalre avatar michalre commented on August 17, 2024 1

I was able to workaround this limitation by setting PROMP_COMMAND in /etc/bash.bashrc to call continuum save script:

PROMPT_COMMAND="$PROMPT_COMMAND; saveTmuxSessionsWithContinuum"
function saveTmuxSessionsWithContinuum() {
    if [ -n "$TMUX" ]; then
       $HOME/.tmux/plugins/tmux-continuum/scripts/continuum_save.sh
    fi
}

So every time I enter a command in tmux terminal the continuum checks its last save timestamp and saves all sessions if last save is older than 15 minutes.

from tmux-continuum.

wreed4 avatar wreed4 commented on August 17, 2024 1

Ah. That incompatibility seems like it should be documented.

from tmux-continuum.

msuozzo avatar msuozzo commented on August 17, 2024 1

Maybe this could be added to the FAQ?

from tmux-continuum.

kaidiren avatar kaidiren commented on August 17, 2024

+1

from tmux-continuum.

wreed4 avatar wreed4 commented on August 17, 2024

continuum has actually never automatically saved for me. And my status is on. But it is managed by vim-tmuxline so maybe the mechanism is the same. Maybe it doesn't work if there's any custom status?? seems unlikely.

from tmux-continuum.

wreed4 avatar wreed4 commented on August 17, 2024

It might be and I might just be bad at Googling.

from tmux-continuum.

casret avatar casret commented on August 17, 2024

So it is in the known issues section of the README (https://github.com/tmux-plugins/tmux-continuum#known-issues) now, but it would be nice to have some workarounds in there as well. I also use tmuxline, so was also surprised by the behavior

from tmux-continuum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.