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

Set powerline_pycmd to py3 in python 3 distributions #2

Open
s-ol opened this issue Apr 6, 2016 · 3 comments
Open

Set powerline_pycmd to py3 in python 3 distributions #2

s-ol opened this issue Apr 6, 2016 · 3 comments

Comments

@s-ol
Copy link

s-ol commented Apr 6, 2016

When installing python-powerline-git on Arch, opening vim produces an error message by default that needs to be skipped every time. By adding let g:pymcd_powerline="py3" to the .vimrc this can be fixed for a single user, and by adding that line atop /usr/share/vim/vimfiles/plugin/powerline.vim it can be done system-wide.

Because the python3 and python2 packages conflict each other, I think the py3 PKGBUILDs should add that setting on their own, since python2 seems to be the default.

Or the vim loading mechanism should try both before failing

@acch
Copy link

acch commented Sep 29, 2016

I'm having this exact same problem with powerline-vim on Arch.

For a workaround, adding the line let g:powerline_pycmd = 'py3' to /etc/vimrc to fix this issue for all users (including root) is less instrusive than poking with the plugin directly.

@patrick-motard
Copy link

Had the same issue. @acch 's solution fixed it for me. Now to figure out why my icons are clipping in the powerline bar.

@banzr
Copy link

banzr commented Mar 24, 2018

@acch fixed my problem as well. +1

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

4 participants