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

Error after sending visual selection to ipython with vim splits #60

Open
ghost opened this issue Apr 3, 2016 · 0 comments
Open

Error after sending visual selection to ipython with vim splits #60

ghost opened this issue Apr 3, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 3, 2016

I noticed an error after sending a visual selection with python code containing imports. To reproduce this issue:

1 - Initiate tmux and create two panes (in my case, I hit C-b+").
2 - In the first pane, open a file with vim (I personally use neovim). In the second pane, start a session with ipython.
3 - In the pane you started vim, create a vertical split with vim (C-W v)
4 - (Optional) Open another file in the second vertical split created in step 3.
5 - Write some python imports in the first part of the vertical split

import sys
import os

6 - Visually select those lines and send them to the ipython pane
7 - This will trigger an error

I attach a couple of screenshots to make the explanation easier to follow.

screenshot from 2016-04-03 10-47-59

screenshot from 2016-04-03 10-21-46

For some reason, this only happens with imports.

Version information: tmux 2.0, Ubuntu GNOME 15.10, latest version of slimux.

Thanks

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

0 participants