Comments (9)
@JESii I started getting these errors recently after an update to tmux 2.4 on Arch linux. The way the bindings works changed a bit, see tmux issue #610 here for solution.
from dotfiles.
Hey @JESii, nice to hear from you!
I'm running with the following config on tmux 2.3:
# Use vim keybindings in copy mode
setw -g mode-keys vi
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Space
bind -t vi-copy Space jump-again
bind-key -t vi-copy 0 back-to-indentation
bind y run 'tmux save-buffer - | reattach-to-user-namespace pbcopy '
bind C-y run 'tmux save-buffer - | reattach-to-user-namespace pbcopy '
Not sure what the issue is with your config setup, but the above works for me. Is there a specific error message or failure mode you encounter?
from dotfiles.
You too, Chris... if/when you're out in San Francisco, give me a shout and we can grab a bite to eat.
When I'm back in the office tomorrow, I'll reset my config and try again (and of course, I should have given you the error messages... sorry)
from dotfiles.
Here are the errors I was getting:
invalid or unknown command: bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
invalid or unknown command: unbind -t vi-copy Enter
invalid or unknown command: bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
invalid or unknown command: unbind -t vi-copy Space
invalid or unknown command: bind -t vi-copy Space jump-again
invalid or unknown command: bind-key -t vi-copy 0 back-to-indentation
invalid or unknown command: bind -t vi-copy 'v' begin-selection
invalid or unknown command: bind -t vi-copy 'y' copy-selection
invalid or unknown command: bind -t vi-copy 'r' rectangle-toggle
I'm gonna check my .conf file again and see if anything jumps out at me.
from dotfiles.
OK; I have these commands from your config:
### FROM Chris Toomey's config
setw -g mode-keys vi
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t vi-copy Space
bind -t vi-copy Space jump-again
bind-key -t vi-copy 0 back-to-indentation
bind y run 'tmux save-buffer - | reattach-to-user-namespace pbcopy '
bind C-y run 'tmux save-buffer - | reattach-to-user-namespace pbcopy '
### END Chris Toomey's config
And I still get those errors... Am gonna try rebooting tmux and see if that makes a dofference (don't know why it should...)
from dotfiles.
Nope; didn't make any difference. Whenver I reload the .tmux.conf, I get those error messages
from dotfiles.
Hi, Chris... Sorry if I seemed to get a little too "familiar" with my lunch invitation. For some reason, I thought you remembered that I took your design class in Boston (2, maybe 3 years ago). Obviously, that was stretching things a bit so my apologies for expecting you to have the memory of an elephant :=)
from dotfiles.
Hi Jon, no worries and thanks for the invite! Always appreciated and welcome. I'm not sure if I remember crossing paths when you were here for the design class, but I certainly recognize from years on Upcase. Sorry I can't be of more help with the tmux issues :(
from dotfiles.
Closing this now as things are working fine for me, and I think other sources are a better starting point for folks having issues on newer tmux versions.
from dotfiles.
Related Issues (20)
- Word characters in markdown include .
- Ctrl-W in OS X text boxes HOT 3
- Join other window immediately if only one HOT 1
- CtrlP Commands HOT 4
- Add commands to send JS to chrome for execution
- Ctrlp and agignore
- Consider adding target.vim
- vim plugin is missing vim-conflicted HOT 1
- Add diff-so-fancy HOT 2
- Add vim-submode for undo and window operations
- Consider fzf.vim as replacement for all things CtrlP HOT 2
- Add inputrc binding for yank-last-arg HOT 1
- Test issue
- Another sample test issue for TMWIC
- I'm not sure if tell me when it closes is working. HOT 1
- git-opr HOT 1
- `tat` kills the current session HOT 2
- tmux split-window with \ does not work in tmux version 3.0 HOT 2
- I see you "Remove use of reattach-to-user-namespace" 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 dotfiles.