fisa-vim-config
fisa-vim-config copied to clipboard
vim-isort cause strange issue
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?
Updated the screenshot.
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?
Also, which terminal are you using? And are you using tmux or screen?
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/fisadev/fisa-vim-config/issues/67#issuecomment-39972313 .
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! :)
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.
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/fisadev/fisa-vim-config/issues/67#issuecomment-40032577 .
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 = ''