Documentation: Make powerline easier to install and more portable #395

Closed
pearofducks opened this Issue Apr 4, 2013 · 4 comments

Projects

None yet

3 participants

@pearofducks
Contributor

Tested across 3 different OSes now (including MacOS with only vim installed by homebrew) and this works:

  1. Use a common vim package manager like vim-pathogen or vundle to get this repo into ~/.vim/bundle
  2. Set-up powerline using much easier relative paths
  3. vim: set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
  4. tmux: source ~/.vim/bundle/powerline/powerline/bindings/tmux/powerline.conf
    • Note the lack of quotes here, that allows for ~ to be used.
  5. zsh:
    • export PATH="$HOME/.vim/bundle/powerline/scripts/:$PATH"
    • . ~/.vim/bundle/powerline/powerline/bindings/zsh/powerline.zsh

Since the big draw (as I could see) for vim-powerline was the ability to get good looking vim on a variety of systems quickly and easily, it makes sense to try to duplicate this ability with powerline. :)

@Fl4t
Fl4t commented Apr 4, 2013

Thx for the ~ tips !

@ZyX-I
Contributor
ZyX-I commented Apr 5, 2013

Use standard vim package manager to get this repo into ~/.vim/bundle

These are not standard ones, standard one is GLVS (getlatestvimscripts). With VAM it is as easy as

call vam#ActivateAddons(['powerline'])
@pearofducks
Contributor

You're right, sorry about that, hastily worded. :) I've updated my original post with more verbose language to avoid confusion!

@ZyX-I
Contributor
ZyX-I commented Feb 16, 2014

The documentation uses {repository_root} for zsh, tmux and vim. It is not hard to guess that in case of vundle installation {repository_root} is ~/.vim/bundle/powerline. Additionally I do not think supporting non-pip and non-system-package-manager installations is a good idea at all and all what is needed in contained in documentation (note: no update to $PATH is needed due to recent changes in all shell bindings, though they are needed for tmux).

By the way, vim-pathogen is not a package manager. You cannot use it to get powerline repo anywhere because it does not support installing plugins.

@ZyX-I ZyX-I closed this Feb 16, 2014
@ZyX-I ZyX-I removed the doc update label Aug 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment