-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Error when opening a new split window in tmux #14
Comments
Hi, thanks for making me aware of this. It should be fixed now, please reinstall the plugin and try again. |
Thanks! It works and I am able to open the ipython panel in tmux, though there are some other issues. The split layout is different from the expected layout, the even vertical layout. The ipython pane zooms in more than half of the space. By the way, there are two more issues. The cursor goes to the ipython pane, not the vim pane at the beginning. After moving the cursor to the vim pane, I have to press |
Interesting, I will try to reproduce your issue today in the evening, meanwhile could you make sure you have the right iterm2 build? I'm not sure what version 13.4.5 is or if that's just a typo, but I only tested it on build 3.4.15. |
Sorry for the typo. My iterm2 was downloaded from the official website and it has been working well. Btw I'm using zsh as default shell. |
Everything works as expected for me with iterm2 build 3.4.15 and tmux 3.2a, but that's on a fresh install of Big Sur. I'll have to see if I can get a MacOS Monterey VM running to further debug this |
Also in case you're running the new vim version 9, you can try downgrading to vim 8.2 since this plugin has not been tested with the new vim release yet. |
alright so I was able to reproduce the issue with a fresh install of macOS Monterey. It occurs using both Vim 8.2 and Vim 9. I'll have time to look into it further by the end of the week. |
Update: Your described problem actually only occured for me when using the wrong tmux version. Please uninstall tmux using
Exit and restart your tmux session in case you executed the above commands from within tmux and afterwards everything (including the plots) should work as expected. |
Interesting, I can't reproduce this, but I have an idea where it's coming from. The image is rendered wherever the cursor currently is. Which is why in the matplotlib backend (i.e. in vim-jukit/helpers/imgcat/imgcat.py) right before the plot is displayed the focus is switched to the output pane via
It should switch your focus back to the file-content-pane. Is that working for you? If this works, then execute the following command in your ipython shell:
It should print a list, where the first entry in the list should represent the pane id of the file-content-pane and the second one that of the output-pane. Check if those pane ids are correct (output of |
closing due to inactivity |
I'm having the same issue as @AreUGroot. I checked the panes, and the output pane is correct (even though current_pane is blank) (more info here: #101). That's good to know about how imgcat.py is working. I'll have to check that next. |
Laptop information:
The following error message appeared when I typed os or
call jukit#splits#output()
Is there anything wrong with my settings? Thank you!
The text was updated successfully, but these errors were encountered: