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

vim-isort cause strange issue #67

Open
a3linux opened this issue Apr 3, 2014 · 8 comments
Open

vim-isort cause strange issue #67

a3linux opened this issue Apr 3, 2014 · 8 comments
Labels

Comments

@a3linux
Copy link

a3linux commented Apr 3, 2014

Uploading Selection_052.png . . .
I update vim-isort this week and my vim has strange issue that,
when I input e.x. from django.
the input cursor will go to next third line, but it is not actually skip 3 lines.
And it is syntax error show in the message window.
It is ok for me if I removed vim-isort.
I am not sure if it is fisa-vim-config issue or vim-isort issue itself.
Anyone have idea with this?

@a3linux
Copy link
Author

a3linux commented Apr 3, 2014

selection_052
Updated the screenshot.

@fisadev fisadev added the bug label Apr 3, 2014
@fisadev
Copy link
Owner

fisadev commented Apr 9, 2014

Hmm, wasn't able to reproduce it here. Do you have a small python example in which this happens? And which version of vim are you using?

@fisadev
Copy link
Owner

fisadev commented Apr 9, 2014

Also, which terminal are you using? And are you using tmux or screen?

@a3linux
Copy link
Author

a3linux commented Apr 9, 2014

I am using vim 7.4.179 on Fedora 20.
Yeah. I am using tmux.
My major terminal is guake.
And I tested with some other terminal(s) without tmux.

I will do a test tomorrow with small python example file and paste a new
screenshot then.

Thanks.

Best
Regards!

Allen Chen 陈金龙
MP: +86 186 2159 1967

On Wed, Apr 9, 2014 at 10:45 PM, Juan Pedro Fisanotti <
[email protected]> wrote:

Also, which terminal are you using? And are you using tmux or screen?


Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-39972313
.

@fisadev
Copy link
Owner

fisadev commented Apr 9, 2014

If possible, instead of pasting a screenshot, upload the python script to a place where I can download it. Maybe http://linkode.org ? Thanks for the help! :)

@fisadev
Copy link
Owner

fisadev commented Apr 10, 2014

Hmm, there is another person who is having the same issue, but not sure it's related to vim-isort. But still, unable to reproduce it here. I need to be able to reproduce it, so I can debug and find the culprit.

@a3linux
Copy link
Author

a3linux commented Apr 10, 2014

Hi Juan Pedro Fisanotti,

My Environment for testing,
Fedora 20 X86_64
Python 2.7.5 with Vim 7.4.179
All the applications coming from Fedora official repository.

No Tmux or screen used. Only VIM with general terminal(Terminator)
The simple test.py I used to reproduce it as following,
screenshot is attached.
What I did is ,
At the line 6,
insert from django.
after the . input, auto complete works and the input cursor skipped as
the screenshot shown.

Hope this is useful as I remove the vim-isort in my .vimrc
and BundleClean, it is ok for me with the same file same action.
.

1import logging
2 import re
3 import sys
4 from django.contrib.auth import User
5 from django.utils.translation import ugettex_lazy as _
6
7 logger = logging.getLogger(name)
8
9 logger.debug()
10 sys.pow(2)
11 ret = {}

Best
Regards!

Allen Chen 陈金龙
MP: +86 186 2159 1967

On Thu, Apr 10, 2014 at 8:43 AM, Juan Pedro Fisanotti <
[email protected]> wrote:

Hmm, there is another person who is having the same issue, but not sure
it's related to vim-isort. But still, unable to reproduce it here. I need
to be able to reproduce it, so I can debug and find the culprit.


Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-40032577
.

@fisadev
Copy link
Owner

fisadev commented Apr 10, 2014

I tried with that example, on the same version of vim, under terminator, and no luck, still doesn't happen here :/ So it will be difficult to fix. But let's try something.

Try disabling the visual mapping for vim-isort. Add this to your .vimrc, then restart vim and try to reproduce the bug:

let g:vim_isort_map = ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants