LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2013, 11:47 AM   #1
d4nt3
LQ Newbie
 
Registered: Feb 2013
Posts: 10

Rep: Reputation: Disabled
Question Vim and powerline/vim-powerline


I've been looking for a way to make vim work with powerline or vim-powerline but had no sucess.
Can anyone tell how make this work?

I almost did it installing vim-powerline( http://www.vim.org/scripts/script.php?script_id=3881 ), and the powerline only appears when I open a help file within vim or other file, and when I close it, and vim gets one single opened file, powerline disappears.
 
Old 04-08-2013, 06:41 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
It looks like vim-powerline is deprecated - try using Lokaltog instead.
 
Old 04-08-2013, 06:48 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I use powerline and have installed it using Pathogen (http://www.vim.org/scripts/script.php?script_id=2332).
In short, just do this:
1. Download pathogen.vim and put it into your ~/.vim/autoload directory.
2. Add the line
Code:
call pathogen#infect()
to your ~/.vimrc.
3. cd into ~/.vim/bundle (create it if it doesn't exist) and clone the Power-line github repo to it:
Code:
mkdir -p ~/.vim/bundle
cd ~/.vim/bundle
git clone git://github.com/Lokaltog/vim-powerline.git
Works for me without any problem. As a nice side-effect, you now have Pathogen installed, which makes installing and managing your plugins really easy.
 
Old 04-09-2013, 12:14 PM   #4
d4nt3
LQ Newbie
 
Registered: Feb 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thumbs up

thx for the answers.

My problema was the vimrc file. Powerline only appear on splited files, and look like crap.
Then I found some vim configurations about it.

Code:
set laststatus=2             "Always show the status bar and not on splited like before(this was the main problem)

"to fix the font and lot of strange characters and colors
set encoding=utf-8
set t_Co=256
set fillchars+=stl:\ ,stlnc:\
 
  


Reply

Tags
plugins, vim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerline networking and its implications jibey.jacob General 27 10-07-2012 10:37 PM
Powerline Network Adapters lothario Linux - Networking 1 07-20-2011 05:02 AM
network powerline adapters sycamorex General 2 04-21-2011 03:14 PM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 05:26 PM
powerline sLiMcHaRaCtA Linux - Networking 0 07-25-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration