Questions tagged [vim-powerline]

Powerline is a statusline and prompt managing plugin

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

Mode-dependent highlighting

Normal mode Insert mode Visual mode Replace mode

Automatic truncation of segments in small windows

All segments Removed branch segment Removed everything but mode, filename and line/column numbers

Project page: https://github.com/Lokaltog/powerline

Old, deprecated project named vim-powerline: https://github.com/Lokaltog/vim-powerline/tree/develop

44 questions
57
votes
3 answers

How can I setup my vim-airline or vim-powerline

I am trying to install vim-powerline, new-powerline, or vim-airline on Windows 7 on a 64bit version of vim, but I cannot get them to work. In vim-powerline, I get the status line, but can't see the nice < delimiters. I installed the plugin via…
statquant
  • 13,672
  • 21
  • 91
  • 162
32
votes
4 answers

How to install Powerline fonts on WSL?

I'm using Windows Subsystem for Linux (WSL 2) with Oh My Zsh to pimp my bash, but I can't make the Ubuntu terminal render the Powerline fonts properly. Any idea on how to set up WSL to work with these fonts?
17
votes
1 answer

Vim goes whack with tmux

NERDTree goes whack in tmux session as in the picture. The same problem exists when windows are split. But now i am using powerline This time the Vim status goes whack(in the picture see the middle portion of the status line) in tmux. What is…
Vysakh Sreenivasan
  • 1,719
  • 1
  • 16
  • 27
6
votes
6 answers

Powerline on Mac OS X not working as expected

as the image shows , after installing the powerline for vim, some symbols are not working. For searching google i thought there maybe problems with the patch fonts. But after trying i cannot solve this problem. Could someone help me? Environment:…
Scen
  • 921
  • 10
  • 14
5
votes
1 answer

How to disable powerline symbols?

I use powerline installed with pip install powerline-status. Is there a way to just disable fancy symbols, so I do not have to configure any font to make it work, whatever environment and segments I use?
azmeuk
  • 4,026
  • 3
  • 37
  • 64
5
votes
3 answers

Powerline has No Highlight/Color

Powerline works perfectly in gvim, but any terminal emulator omits the color highlight, including konsole.
Ryne Everett
  • 6,427
  • 3
  • 37
  • 49
4
votes
1 answer

DeprecationWarning when starting Vim with Powerline enabled since Python upgrade from 3.6.5 to 3.7.0

I was happily using Powerline for Vim for a while now until today Homebrew installed a Python upgrade from 3.6.5 to 3.7.0. Since then, Powerline stopped working properly in Vim. First, when starting Vim, there was an error saying that the powerline…
anothernode
  • 5,100
  • 13
  • 43
  • 62
4
votes
1 answer

Vim Powerline with Syntastic segment

How do I add a syntastic segment to the powerline footer for Vim? (the new powerline, not vim-powerline) Syntastic docs only say how to add it to the standard Vim footer and I couldn't find how to add it in the powerline docs.
Mike Funk
  • 373
  • 6
  • 22
4
votes
2 answers

How to truncate long file path in vim-powerline statusline?

I would like to truncate my file path to ex: a/a/j/c/popularCategories.js.
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
4
votes
1 answer

vim powerline + tmux not expanding to fill entire status line

I have vim and tmux set up. I'm trying to get vim-powerline to look like the first picture. I can achieve this if I have one instance of vim, then using :vsplit to achieve the following effect. On the other hand, if I were to use vertical splits…
Benjamin Tan Wei Hao
  • 9,621
  • 3
  • 30
  • 56
3
votes
1 answer

How to detect if powerline is installed?

I have powerline installed on some of my computers, but not on others. I'd like my .vimrc to detect if it is installed before trying to load/enable the powerline package so I can avoid the errors that are generated. How can I detect if powerline is…
jlconlin
  • 14,206
  • 22
  • 72
  • 105
3
votes
0 answers

Powerline fonts not working with vim on archlinux

I get bad symbols in places $ pacman -Qqe | grep powerline powerline powerline-fonts powerline-vim $ pacman -Qqe | grep vim-airline vim-airline vim-airline-themes $ python --version …
Abhishek Bhatia
  • 9,404
  • 26
  • 87
  • 142
3
votes
2 answers

Powerline not work in vim

Ubuntu 16.04 installed sudo apt-get install powerline and added to .bashrc: # Powerline if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then source /usr/share/powerline/bindings/bash/powerline.sh fi And added in ~/.vimrc the: "…
mCs
  • 2,591
  • 6
  • 39
  • 66
3
votes
0 answers

Can I use powerline without patched fonts?

As part of work, I frequently remote login to my workstation from a different laptop every week or so. Powerline works perfectly with the patched fonts on the workstation itself, but it looks and works horrible if I don't have the patched fonts. The…
Plasty Grove
  • 2,807
  • 5
  • 31
  • 42
3
votes
1 answer

tmux shows configurations on start

TMUX shows configuration on start: set option: status-fg -> colour231 set option: status-bg -> colour234 set option: window-status-fg -> colour249 set option: window-status-activity-attr -> none set option: window-status-bell-attr -> none set…
Nikita Kunevich
  • 587
  • 4
  • 17
1
2 3