Comments (12)
Okay, I've got it! MacOSX users, please try these settings with tmux 2.2:
export EVENT_NOKQUEUE=1
export EVENT_NOPOLL=1
These magic environment variables come from tmux's MacOSX-specific osdep_event_init()
function, whose source code is available at https://github.com/tmux/tmux/blob/2.2/osdep-darwin.c#L77-L78.
Note: This is the same approach I followed for solving this issue in tmux 2.2 running under Linux. 🐧
from slimux.
Are you using tmux 2.2? It's a known issue: see tmux/tmux#416 and try this workaround.
from slimux.
@sunaku Appreciate the tip - I am using tmux 2.2. Setting that environment variable doesn't do the trick however. I will try to pull in your patch and recompile tmux later today.
from slimux.
Rebuilt tmux including tmux/tmux#416 and the issue persists. If there is more debugging that would be helpful to provide, please let me know.
from slimux.
Oops, I missed the fact that you're on a Mac. 😅 The workaround and patch you tried only apply to Linux. Report this issue upstream at tmux: it might be a Mac-related issue that they (have yet to?) know about.
from slimux.
Hi @arifb did you managed to find a way around the problem. I'm having exactly the same issue after updating tmux and trying to export EVENT_NOEPOLL=1
as suggested in the link above. Did you have any luck in fixing the issue? I'm also using OS X.
from slimux.
@gzagatti I downgraded to tmux 2.1 for now
from slimux.
Yes @arifb I did the same and it works.
from slimux.
Thanks @sunaku it works like a charm
from slimux.
@arifb can you confirm that it works? I also just pushed a change that lets you specify the path to your tmux, this should allow for better flexibility.
I had an issue with the same symptoms when the tmux session was running one version and slimux found a tmux of another version, hopefully either the mention above or the configuration will alleviate the problem.
from slimux.
@slashfoo not sure if for @arifb worked, but I tried in tmux 2.2 and worked like a boss! 👍
Without those envs, vim crashes like described above.
from slimux.
thanks @hlegius I'll close this issue then.
from slimux.
Related Issues (20)
- Julia for loop break HOT 6
- Allow users to filter out panes based on arbitrary strings
- Slimux not Affecting the Selected Tmux Pane HOT 13
- Don't try to send to pane that doesn't exist anymore
- Allow SendSelection to use marks and ranges HOT 2
- Error after sending visual selection to ipython with vim splits
- Sending selection by stripping comments HOT 1
- Slimux broken in IPython 5 HOT 8
- how to use the Slimux in tmux? HOT 1
- Slimux breaks when `g:slimux_tmux_path` is unset HOT 3
- Send text object to REPL HOT 1
- SlimuxSendKeys() bug? HOT 4
- IndentationError: unindent does not match any outer indentation level (Extra spaces produced in IPython) HOT 3
- mismatched quotes in slimux.vim
- Escaping R Code HOT 3
- Vim to Vim in Normal mode
- protocol version mismatch HOT 1
- Repl send line adds indentation
- Repository maintenance 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 slimux.