You are not logged in.

#1 2012-11-21 02:04:19

xly15
Member
Registered: 2012-02-17
Posts: 21

[SOLVED]vim and vim-powerline

I have vim-powerline installed straight from lokaltog's git, but it not rendering anything but a colored bar in vim. When it is insert mode it is just a blue bar and it reverts to a gray bar when I leave insert mode. It is getting very frustrating and I have tried everything I can think of to get it working correctly. vim is from the repos.

Last edited by xly15 (2012-12-15 00:49:10)

Offline

#2 2012-11-21 02:41:26

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED]vim and vim-powerline

How/where did you install it. Screenshots?


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#3 2012-11-21 03:52:10

xly15
Member
Registered: 2012-02-17
Posts: 21

Re: [SOLVED]vim and vim-powerline

How did I install vim and vim-powerline?

Screenshots:
http://i45.tinypic.com/2s0lct0.png
http://i47.tinypic.com/140jl2h.png


# mod edit: Crossposting. Oversized images. No information in your posts. Please read the Forum Etiquette and make some sort of effort to help yourself and others --

Last edited by jasonwryan (2012-11-21 04:57:27)

Offline

#4 2012-11-21 05:00:34

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED]vim and vim-powerline

Yes. How did you install vim-powerline? Are you using pathogen, AUR, manual install, etc.. Basically, walk me through what you have done so far.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2012-11-21 05:43:50

xly15
Member
Registered: 2012-02-17
Posts: 21

Re: [SOLVED]vim and vim-powerline

It was installed using pathogen. It is the same method I use on my Ubuntu box and it works perfectly fine there.

Offline

#6 2012-11-21 22:03:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED]vim and vim-powerline

Presumably Stebalien already knows what method you use on your Ubuntu box?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2012-11-22 00:34:32

adamrights
Member
From: New York
Registered: 2011-08-27
Posts: 5
Website

Re: [SOLVED]vim and vim-powerline

There is a great vim/gvim setup I use by Steve Francia of 10gen/Mongodb. There's a simple install script you paste in the terminal -- it will even backup your current settings. You'll have a beautiful powerline.

It uses Vundle instead of Pathogen (works better with git updating). It's commented and organized well and includes many of the best plugins. It also uses a simple .vimrc.local and .vimrc.bundles.local file for overrides

https://github.com/spf13/spf13-vim
Installation:  curl http://j.mp/spf13-vim3 -L -o - | sh

Offline

#8 2012-11-22 04:13:22

xly15
Member
Registered: 2012-02-17
Posts: 21

Re: [SOLVED]vim and vim-powerline

I am sorry I didn't clarify better before. I guess I shouldn't do posting when I am tired. Everything is actually installed from a github repo of a friend of mine. He has it set up that way all the vim plugins are actually symlinked along with the vimrc file. Here is repo if anyone wants to take a look at it. https://github.com/eligundry/dot_win
It is done through a ruby script. I hope this helps out a lot more.

Offline

#9 2012-11-23 17:57:08

Lokaltog
Member
From: Norway
Registered: 2009-12-04
Posts: 53
Website

Re: [SOLVED]vim and vim-powerline

That's really weird. It appears that powerline is actually loaded since the color changes, but no information is actually rendered to the statusline. It could be an issue with a plugin you have. Try to disable the cache and then disable one plugin at a time and see if you can pinpoint where the issue occurs.

Please post this as an issue on github if you'd like help from the community, as I can't follow up issues in other forums.

Offline

#10 2012-11-23 18:08:40

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [SOLVED]vim and vim-powerline

Try moving 'set laststatus=2' out of the if statement and just in to the main part of the your ~.vimrc. Just a thought


Edit: Lokaltog will know better than myself. smile

Last edited by doug piston (2012-11-23 18:10:07)

Offline

#11 2012-11-24 03:01:32

xly15
Member
Registered: 2012-02-17
Posts: 21

Re: [SOLVED]vim and vim-powerline

I will try what Lokaltog said and report back if it is fixed.

Offline

#12 2012-12-15 00:48:47

xly15
Member
Registered: 2012-02-17
Posts: 21

Re: [SOLVED]vim and vim-powerline

I fixed my problem. I had installed the wrong vim package from the repo. I had to install the gvim package instead of just the vim package. Powerline works now.

Offline

Board footer

Powered by FluxBB