• This repository has been archived on 12/Jan/2019
  • Stars
    star
    2,863
  • Rank 15,854 (Top 0.4 %)
  • Language
    Vim Script
  • Created almost 13 years ago
  • Updated almost 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Moved to powerline/powerline.

DEPRECATION WARNING

Plugin is currently in maintenance mode, no feature requests will be accepted. Vim-powerline will be deprecated in favour of https://github.com/Lokaltog/powerline once it is ready.

Powerline for vim

Author:Kim Silkebækken ([email protected])
Source:https://github.com/Lokaltog/vim-powerline
Version:β

Introduction

Powerline is a utility plugin which allows you to create better-looking, more functional vim statuslines. See the screenshots below for a demonstration of the plugin's capabilities.

It's recommended that you install the plugin using Pathogen or Vundle. After the plugin is installed update your help tags and see :help Powerline for instructions on how to enable and configure the plugin.

See the Troubleshooting section below if you're having any issues with the plugin or the font patcher.

Note: You need a patched font to be able to use the symbols in the statusline. An experimental Python/fontforge-based font patcher is included in the fontpatcher directory. See fontpatcher/README.rst for usage instructions.

Screenshots

http://i.imgur.com/MsuIB.png

Troubleshooting

I can't see the fancy symbols, what's wrong?

Make sure that you have let g:Powerline_symbols = 'fancy' in your vimrc file. The settings may be loaded too late if you have this in gvimrc, so always put this in your vimrc.

Clear the cache using :PowerlineClearCache and restart vim.

Make sure that you've configured gvim or your terminal emulator to use a patched font.

Make sure that vim is compiled with the --with-features=big flag.

The fancy symbols look a bit blurry or "off"!
Make sure that you have patched all variants of your font (i.e. both the regular and the bold font files).
I'm unable to patch my font, what should I do?

Font patching is only known to work on most Linux and OS X machines. If you have followed the instructions in the fontpatcher README and still have problems, please submit an issue on GitHub.

You can download some community-contributed patched fonts from the Powerline wiki if you don't want to mess around with the font patcher.

The Syntastic/Fugitive statusline flags don't work!
These flags should work without any configuration. If you installed either plugin after Powerline, you'll have to clear the cache using :PowerlineClearCache and restart vim.
The colors are weird in the default OS X Terminal app!

The default OS X Terminal app is known to have some issues with the Powerline colors. Please use another terminal emulator. iTerm2 should work fine.

The arrows may have the wrong colors if you have changed the "minimum contrast" slider in the color tab of your OS X settings.

The statusline has strange characters like ^B in it!

Please add set encoding=utf-8 to your vimrc.

You may also need to set your LANG and LC_* environment variables to a UTF-8 locale (e.g. LANG=en_US.utf8). Consult your Linux distro's documentation for information about setting these variables correctly.

The statusline has a lot of ^ or underline characters in it!

You need to configure the fillchars setting to disable statusline fillchars (see :h fillchars for details). Add this to your vimrc to solve this issue:

set fillchars+=stl:\ ,stlnc:\
The statusline is hidden/only appears in split windows!
Make sure that you have set laststatus=2 in your vimrc.
I'm using tmux and Powerline looks like crap, what's wrong?

You need to tell tmux that it has 256-color capabilities. Add this to your .tmux.conf to solve this issue:

set -g default-terminal "screen-256color"

If you use iTerm2, make sure that you have enabled the setting 'Set locale variables automatically' in Profiles > Terminal > Environment.

If you have any other issues and you can't find the answer in the docs, please submit an issue on GitHub.

More Repositories

1

git-man-page-generator-legacy

Git man page generator.
JavaScript
388
star
2

candybar

WebKit-based status bar for tiling window managers.
C
217
star
3

vim-distinguished

A dark vim color scheme for 256-color terminals.
Vim Script
210
star
4

vim-monotone

A dark, monochrome colorscheme for vim
Vim Script
203
star
5

baba-core

Mini-language for creating random text generators.
JavaScript
132
star
6

home

Lokaltog's home repo. Contains emacs config files and various local config files (for git, fish, bspwm, etc.)
Emacs Lisp
86
star
7

neoranger

Simple ranger wrapper for neovim.
Vim Script
38
star
8

vimfiles

Lokaltog's awesome vim configuration. Not maintained anymore, as I've switched to emacs+evil.
Vim Script
28
star
9

distinguished-theme

A dark and elegant theme for emacs.
Emacs Lisp
26
star
10

KeRD

Kerbal Remote Display.
JavaScript
14
star
11

monotone.nvim

Another monochrome neovim colorscheme.
Lua
10
star
12

lokaltog-fonts

Lokaltog's custom-made bitmap fonts.
Shell
10
star
13

candybar-theme-default

Default theme for candybar.
JavaScript
6
star
14

bind-adblocker

BIND ad blocker and personal caching DNS.
6
star
15

git-man-page-generator

5
star
16

vim-charbar

Lightweight single-character scrollbar.
Vim Script
5
star
17

dada-grammars

Random text generation grammars for the Dada Engine (http://dev.null.org/dadaengine/)
4
star
18

baba-grammar-git-man-page-generator

Git man page generator grammar for Baba.
3
star
19

baba-grammar-common

Common grammar files for Baba.
2
star
20

candybar-pkg-archlinux

Arch Linux PKGBUILDs for candybar.
Shell
2
star
21

tangle

Streamlined ComfyUI API and frontend wrapper.
1
star
22

vimfiles-new

1
star