Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux 3.0 errors #30

Open
LockeAG opened this issue Dec 2, 2019 · 7 comments
Open

tmux 3.0 errors #30

LockeAG opened this issue Dec 2, 2019 · 7 comments

Comments

@LockeAG
Copy link

LockeAG commented Dec 2, 2019

I'm experimenting some errors with MacOS Catalina and latest Tmux 3.0

.tmux.conf:43: syntax error

that seems to be related with:

# Unbind default key bindings, we're going to override
 11 unbind "\$" # rename-session
 10 unbind ,    # rename-window
  9 unbind %    # split-window -h
  8 unbind '"'  # split-window
  7 unbind }    # swap-pane -D
  6 unbind {    # swap-pane -U
  5 unbind [    # paste-buffer
  4 unbind ]
  3 unbind "'"  # select-window...

Seems to be a problem with the lack of '' , maybe I will try unbind '{' in all special characters

Then de next error is with the conditional statement if , that may be because is now needed de if-shell???

If somebody has a guide on how to migrate this to Tmux 3.0, will be very appreciated

@nate-double-u
Copy link

In the meantime, if you're using brew, here's a good article on how to downgrade to v2.9a:
https://medium.com/@wpcarro/brewing-an-old-batch-of-tmux-81c0a62715f9

@Sammyalhashe
Copy link

So I went through, and I added \ (the slash) in front of the brace. After trying tmux source ~/.tmux.conf again it said I had another error with another brace. I did the same. Then I got your if error. On line 98, I added another \ to escape the \ that was already there. I reloaded it and it worked. I hope this wasn't too confusing to read.

@BirkhoffLee
Copy link

I'm having the same issue. Are you willing to do a PR on this? (or diff)

@MichaelAllen
Copy link

This PR (#31) fixed the issue for me.

@BirkhoffLee
Copy link

If anyone wants to install the most recent tmux 2.9:

brew uninstall tux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux

@bgulla
Copy link

bgulla commented Jan 6, 2020

If anyone wants to install the most recent tmux 2.9:

brew uninstall tux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux

you are missing an 'm' in tmux. The correct command is:
brew uninstall tmux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux

@BirkhoffLee
Copy link

BirkhoffLee commented Jan 6, 2020 via email

mohitt pushed a commit to mohitt/tmux-config that referenced this issue Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants