Giter Club home page Giter Club logo

Comments (6)

reconstructions avatar reconstructions commented on July 16, 2024

Totally weird. I am still not able to get ctrl-a-shift-I (my prefix is ctrl-a) to run the plugin installer (or at least, if it runs, it doesn't provide any feedback that I could see), but now when I press ctrl-a-shift-s (NOT ctrl-a + ctrl-s) I get a Tmux environment saved notice, and when I press ctrl-a-shift-r (NOT ctrl-a-ctrl-r) it gives a Tmux restore complete notice about half the time. Otherwise it kicks off (reverse-i-search), which I don't want.

It looks like resurrect is running, but I have stumbled on these key bindings by chance, and they aren't the same as in the README. Those don't work.

The only mapping in my tmux.conf is the following:

set -g prefix C-a
unbind C-b
bind C-a send-prefix

I would still love to know the syntax to get rid of these convoluted bindings...

from tpm.

reconstructions avatar reconstructions commented on July 16, 2024

When I restart tmux, however, it quits with [exited], which I gather is likely to mean a bad tmux.conf. So it seems like tpm and resurrect are somehow half installed but borked.

I am running bash on OS X, should I have run-shell ~/.tmux/plugins/tpm/tpm in my tmux.conf? I saw another issue which suggested not, but the syntax mentioned there didn't work either.

from tpm.

reconstructions avatar reconstructions commented on July 16, 2024

If I comment out run-shell ~/.tmux/plugins/tpm/tpm in my tmux.conf, I can run tmux, then uncomment this line, then use the command tmux source-file ~/.tmux.conf within tmux, and after that I can do the above-mentioned saving with ctrl-a-shift-s, and it appears resurrect is working.

But once I quit I can't restart tmux, I get [exited] instead. If I comment out run-shell ~/.tmux/plugins/tpm/tpm and rerun tmux source-file ~/.tmux.conf outside tmux, then I can get back in. Either I am missing some instructions or something is wrong!

from tpm.

bruno- avatar bruno- commented on July 16, 2024

Hey hey,
lot's of questions here. I'll try to catch up with a few.

Totally weird. I am still not able to get ctrl-a-shift-I (my prefix is ctrl-a) to run the plugin installer (or at least, if it runs, it doesn't provide any feedback that I could see), but now when I press ctrl-a-shift-s (NOT ctrl-a + ctrl-s) I get a Tmux environment saved notice, and when I press ctrl-a-shift-r (NOT ctrl-a-ctrl-r) it gives a Tmux restore complete notice about half the time. Otherwise it kicks off (reverse-i-search), which I don't want.

Ok, I'll try to clarify the thing with tmux key bindings.

  • prefix + I - you invoke this by:
    • press Ctrl-a then lift off all the fingers from the keyboard briefly
    • then press shift-i to invoke the key binding
  • prefix + Ctrl-s - this one is invoked in a similar pattern:
    • press Ctrl-a at the same time then lift off all the fingers from the keyboard briefly
    • then press Ctrl-s at the same time

I think you might be trying to press all these keys together at the same time which is likely causing you trouble.
As a general rule, whenever you see prefix + something it means pressing Ctrl-a keys together, then lifting fingers from the keyboard briefly before proceeding with the something part.

When I restart tmux, however, it quits with [exited], which I gather is likely to mean a bad tmux.conf. So it seems like tpm and resurrect are somehow half installed but borked.

If you exit tmux, the [exited] message is perfectly legit - no need to get worried about that.

But once I quit I can't restart tmux, I get [exited] instead. If I comment out run-shell ~/.tmux/plugins/tpm/tpm and rerun tmux source-file ~/.tmux.conf outside tmux, then I can get back in. Either I am missing some instructions or something is wrong!

Can you please link me a stable version of your .tmux.conf file.

from tpm.

reconstructions avatar reconstructions commented on July 16, 2024

Well, I finally got it working, but I have no idea how and the keystrokes that worked are not the same as those in the resurrect README. I have used tmux keystrokes a bunch before, so for the most part I have the feel for that. I could never be sure that prefix + I was working, at least as far as I could tell, but since resurrect is working I suppose it must have.

Tmux was quitting when I tried to start it (with [exited]), and it was something in the .tmux.conf that was doing it, but it finally worked, once again without my being able to say exactly why. It took a million restarts.

And I can finally save and restore tmux sessions, but the keys that work for me are prefix + shift-s (save) and 'prefix + shift-r. I think I accidentally tried those and saw that the session was saving when groping forprefix + ctrl-s. And I have to push them one at a time in sequence while holding down all the previous keys: 'ctrl, a, shift, s, not in two stages as you describe.

So I think there is something weird going on with this repo and resurrect running in iTerm2 with the latest VIM and TMUX versions in OS X Mavericks on a MacBook Air, but that is just my opinion, and for sure I have no idea what fixed it for me. Thanks for the help, and for saving my tmux sessions!

from tpm.

bruno- avatar bruno- commented on July 16, 2024

Hi, I'm glad you finally got it working and I'm sorry to hear about all the bad experiences so far.

If there are other users out there that have the similar problems, please report and we'll try to work it out.

from tpm.

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.