Live data from Hacker News

Vim-powerline: The ultimate vim statusline utility

github.com

41–50 of 63 posts

Re: Vim-powerline: The ultimate vim statusline utility

#41

Earlier quoted context omitted.

How much faster could it start? It's already instant.

For various definitions of "instant", I guess. I move around a lot and I want my editor (and my shell, for that matter) to be ready the instant I hit enter.

So do I. Removing plugins and autoloads seems less cripling than recompile without python et al...

Re: Vim-powerline: The ultimate vim statusline utility

#43
I've been using this for a few weeks, and really love it. It is definitely worth patching your vim font (although not very well documented).

You can use `:set guifont` in gvim to determine your font. Then, just run the included fontpatcher python script on the correct font to add the new symbols. Note that this script requires installing the fontforge python package (python-fontforge on ubuntu). Then tell gvim to use the patched font with `:set guifont=`.

Re: Vim-powerline: The ultimate vim statusline utility

#44
post #8
post #7

I love how easy pathogen ( https://github.com/tpope/vim-pathogen ) makes installing vim plugins from github. I always struggled with it in the past (and mostly avoided it) but now it is as simple as git clone and done.

Vundle is even better than Pathogen IMO. It takes away the need to manage git submodules, in favor of just creating a text file that defines your plugins, Bundler style. Removing plugins from your setup is MUCH cleaner.

A couple of questions about Vundle.

What about plugins that are not in a git repo (but a hg repo)?

What if I don't want the lastest version of a plugin?

Re: Vim-powerline: The ultimate vim statusline utility

#45
post #20

Installed it earlier this week, and it is awesome. I've uploaded patched versions of Menlo and Mensch here if you don't want to bother doing it yourself. https://gist.github.com/1595572

Thanks for sharing these! As long as you're encoding fonts, any chance you could do Monaco?

Re: Vim-powerline: The ultimate vim statusline utility

#46
post #8
post #7

I love how easy pathogen ( https://github.com/tpope/vim-pathogen ) makes installing vim plugins from github. I always struggled with it in the past (and mostly avoided it) but now it is as simple as git clone and done.

Vundle is even better than Pathogen IMO. It takes away the need to manage git submodules, in favor of just creating a text file that defines your plugins, Bundler style. Removing plugins from your setup is MUCH cleaner.

It seems like the current Vundle version does not play well with .vimrc under version control. That’s why I like Pathogen more, since I can simply insert the bundles as Git submodules into .vim/bundle. (Submodule support for Vundle is already on the way, there are some pull requests on GitHub.)

Re: Vim-powerline: The ultimate vim statusline utility

#47
post #43

I've been using this for a few weeks, and really love it. It is definitely worth patching your vim font (although not very well documented). You can use `:set guifont` in gvim to determine your font. Then, just run the included fontpatcher python script on the correct font to add the new symbols. Note that this script requires installing the fontforge python package (python-fontforge on ubuntu). Then tell gvim to use…

That's good to know, I'll include it in the documentation.

Re: Vim-powerline: The ultimate vim statusline utility

#48
post #40
post #13

Earlier quoted context omitted.

The way you would install any Vim plugin. Extract these files inside your ~/.vim directory such that. copy vim-poweline/autoload/* to ~/.vim/autoload/* copy vim-poweline/doc/* to ~/.vim/doc/* copy vim-poweline/plugin/* to ~/.vim/plugin/* and so on. PS. Learn Pathogen or Vundle. It will be very well invested time.

If you don't want to install pathogen or vundle here is another simple way: ~/.vim $ git clone https://github.com/Lokaltog/vim-powerline.git powerline Edit your ~/.vimrc and add set runtimepath=~/.vim/powerline,$VIMRUNTIME

Since some plugins write temporary files to the first directory in runtimepath, this could have unintended consequences though.

Re: Vim-powerline: The ultimate vim statusline utility

#49
post #21

The docs say that this will work best on a unix like system but doesn't say what that means or whether it will work on Windows. Has anyone tried this on Windows? Does it work?

It does work on Windows. Kinda. I'm using Consolas, and simple mode has a little question-mark-in-a-box where some dividers should be. Unicode mode is worse. Absolutely usable, though. It'll take more fiddling than it's worth to patch the font on Windows, so I plan on booting Ubuntu to do it later.

Yeah, feel sorry for those that haven't discovered Consolas, such a better looking font on gvim anyway :)

Seconding a upload request if someone patches it. Had a go on cygwin but you're needing a few dependencies by the looks of things.

Post reply on HN