Comments (7)
Is tmux
in your $PATH
?
$ which tmux
You realize this should typically be used by starting VIM inside a TMUX session and the plugin will just add a new pane to run jobs in right?
from vimux.
It seems not to be in PATH
$ which tmux
tmux not found
Somehow strange. I haven't changed my .vimrc
for a long time and never had this error. Maybe an update to macos BigSur or iTerm2 changed something. Or brew
removed it with other dependencies.
Doing a brew install tmux
fixed it. Thnx.
from vimux.
I'm hitting this on a computer that doesn't have tmux
installed and I don't want to install it there.
Could vimux
just skip its initialization when tmux
is not present? This would help sharing my Vim configuration with different computers.
from vimux.
@gpakosz I'm not sure about "just skip", but I think downgrading this from a hard error that blocks vim startup to a warning that you can move on from would be fine. I'd be happy to accept a PR to that affect.
from vimux.
Not interested if it's a warning 🙂
I'll just work around it by doing
if !executable('tmux')
let g:loaded_vimux = 1
endif
from plugins/settings/vimux.vim
from vimux.
I think a warning is better than an error and would like to see that happen even if it doesn't help your use case. As for default behavior I think the warning will be more broadly useful that a silent failure. The number of people that expect this to work when they install it and yet have issues with it finding tmux
(as was the original report in this issue!) is almost certainly higher than those installing the plugin and deliberately not expecting it to work (as in your comment).
Your workaround sounds appropriate for your desired outcome.
from vimux.
I'm having the same problem, failed to find executable tmux.
Going to try brew install tmux and see if that fixes it.
from vimux.
Related Issues (20)
- Up arrow behaviour changed in VimuxPromptCommand HOT 1
- Ubuntu + Neovim AppImage HOT 6
- VimuxPromptCommand does not open a new split if there is an ongoing process in a different split HOT 5
- How Would You load-file With SBCL? HOT 5
- VimuxOrientation Not Resepcted HOT 2
- Unexpected behaviour when running outside of tmux
- [question] is there a way to specifiy new pane's orientation from functions args? HOT 9
- Vimux doesn't accept all tmux pane identifiers HOT 3
- Argument to VimuxPromptCommand HOT 1
- Unknown function: environ HOT 1
- Vimux prepends "q" to all commands HOT 4
- VimuxRunCommand()可不可以向指定的pane发送命令呢? HOT 3
- Command? lsError detected while processing function VimuxPromptCommand[10]..VimuxRunCommand[2]..VimuxOpenRunner[1]..<SNR>33_existingRunnerId: line 2: E896: Argument of get() must be a List, Dictionary or Blob HOT 3
- The panel didn't respond after I pressed the ls command HOT 3
- Is it supported on Windows? HOT 2
- VimuxRunnerName doesn't find existing session when runner type is "pane" HOT 3
- Tmux 3.1 deprecated the `-p` flag HOT 6
- VimuxOpenRunner doesn't work any more HOT 7
- VimuxRunnerQuery with VimuxRunnerName with panes HOT 2
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 vimux.