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
3
votes
1 answer

zsh (256colors): default background color as foreground color

I can easily switch back to the terminal default coloring scheme using %k (background) or %f (foreground). There is also the option to use %K(default) or %F(default) which produces the same results. How can I change the foreground color to the…
alexschomb
  • 126
  • 3
  • 13
3
votes
1 answer

Reloading .vimrc in autocmd breaks Powerline

I know this has already been discussed, but the proposed solution is not working for me. I have this in my .vimrc: autocmd! BufWritePost .vimrc nested source $MYVIMRC Since I read that the correct way to source .vimrc inside an autocmd is using…
Carlo
  • 4,016
  • 7
  • 44
  • 65
2
votes
2 answers

Install powerline fonts on centOS6.6

I installed recently the patched fonts for Powerline users from the github repository on a centOS6.6 box. As indicated in the docs I executed the script that ran ok and printed [statquant@latitude fonts]$ ./install.sh Copying fonts... Resetting…
statquant
  • 13,672
  • 21
  • 91
  • 162
2
votes
1 answer

vim-powerline shows a weird red color in the left side

I don't know what is wrong with my vim-powerline. A unexpected red bar on the left side of powerline in Macvim, whereas it doesn't appear when I use vim in terminal. Here is the screenshot: Both Macvim and vim share the same vimrc file. How can I…
Yeeson
  • 69
  • 7
2
votes
1 answer

Using patched Powerline fonts for vim-airline

I've cloned vim-airline with Pathogen. Next I cloned patched Powerline fonts into /usr/local/share/fonts on my Ubuntu 14.04, and did fc-cache -vf /usr/local/share/fonts. I then added set guifont=Ubuntu\ Mono\ for\ Powerline\ 11 as well as set…
STim
  • 65
  • 2
  • 7
2
votes
1 answer

Adding weather widget powerline

I'm trying to enable weather widget for powerline but with no success. I added this code { "name": "weather", "priority": 50, "args": { "unit": "F", "location_query": "oslo, norway" } } at the end of my theme file.…
moemoe
  • 63
  • 5
2
votes
1 answer

Vim PowerlineSymbols displayed incorrectly

I am having problems trying to get the PowerlineSymbols/Glyphs to displayed correctly on the powerline. I have already tried all the available fonts suggested by Lokaltog. I have also tried to set the font to be used in my ~/.vimrc file in…
lv10
  • 1,469
  • 7
  • 25
  • 46
2
votes
1 answer

vim powerline in windows 7

I am trying to install VIM Powerline on window, I found a comment which supposed to fix how it looks in Windows, but encoding of the comment is broken by itself... The link to the blog post. I had the same problem on windows. As an alternative to…
oz123
  • 27,559
  • 27
  • 125
  • 187
1
vote
1 answer

Powerline/arrowline arrows are too small in urxvt

I first tried to install powerline on my computer and had problems with the arrows not rendering correctly which was easily corrected by installing a patched font. However, although the arrow symbols were rendered correctly they were much smaller…
P-51D-25
  • 13
  • 3
1
vote
3 answers

How to use vim airline or powerline on windows command promt?

I am trying to use vim airline on windows 8(x86). I have managed to get it working in gvim 7.4 successfully. How can I get the same look on vim running in command prompt? What I can deduce from research is that cmd is not displaying unicode…
isAif
  • 2,126
  • 5
  • 22
  • 34
1
vote
2 answers

vim-powerline does not have the correct appearance

I installed it with Vundle and my .vimrc look contains the following " Powerline setup set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9 set laststatus=2 I am using the default Gnome Terminal than comes with Ubuntu 14.04. I don't know if it…
Nicholas Kolatsis
  • 427
  • 1
  • 5
  • 9
1
vote
0 answers

vim not drawn correctly in tmux

I've got some issues with vim in tmux. It is not drawn correctly. I think that the statusbar introduced by tmux messes with the way vim draws its layout. When I create two windows, open vim in one of them and switch to the other one and then back to…
nschagen
  • 31
  • 2
1
vote
0 answers

powerline symbols can not show in my computer

It's weird that powerline symbols could not show in my mac(mavericks), but the old powerline symbols could. I've tried to font-patch a powerline-font and put it into ~/Library/Fonts, which didn't work. (followed the instruction:…
hutusi
  • 437
  • 6
  • 14
1
vote
1 answer

vim-powerline: customizing the status line to display an indicator when there is a modified file in the buffers

I use vim-powerline plugin to customize the vim status line. As of now, the status line displays a + when the current buffer is modified. When I switch to a un modified buffer I can no longer tell if there is a modified buffer in the project.…
Harish Shetty
  • 64,083
  • 21
  • 152
  • 198
0
votes
1 answer

How to allocate a value that changes while execution in vim (lightline plugin)?

I'm hacking on the lightline plugin of vim (downloaded version). I can modify the colors of each themes. I did something that works well in the powerline.vim scheme (path :…
ATR
  • 107
  • 6