Comments (6)
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.
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.
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.
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
- press
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
- press
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.
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 for
prefix + 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.
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)
- tpm generates unknown variable: TMUX_PLUGIN_MANAGER_PATH
- Load time is significantly long while tpm is enabled
- [discussion] bundle several tmux plugins under a common umbrella organization for visibility
- TPM does not install plugins on M1 Mac (Ventura) HOT 8
- Nix formula please? HOT 1
- NetBSD - TPM locks up the entire system. HOT 4
- Is there a way to install plugins to another directory? HOT 7
- How to install plugins automatically? HOT 2
- Implementing an embedded plugin list in tpm? HOT 1
- how to update TPM itself? HOT 2
- TPM is apparently installing plugins but they are not loaded. Windows 10 WSL2 Ubuntu. HOT 1
- Tmux output numbers separated by semicolon at startup HOT 7
- TPM should account for the repository's author to prevent naming conflicts HOT 1
- Sourcing tmux conf returns 126 in WSL Ubuntu HOT 4
- '~/.local/share/tmux/plugins/tpm/tpm' returned 1 on macOS Sonoma 14.3.1 HOT 3
- tpm does not works on macbook pro m3 pro HOT 2
- Fix the instructions on changing plugins install dir HOT 1
- Install plugin from subdirectory HOT 1
- Most plugins are not being installed and loaded HOT 3
- Fix: cannot set variables with a name whose prefix is `plugin` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tpm.