Live data from Hacker News

Show HN: vim-airline

github.com

11–20 of 28 posts

Re: Show HN: vim-airline

#11

This is slick. Anyone with more vim-fu than me have a good way to add mixed tabs/spaces warnings to airline?

You can accomplish something similar with listchars and list:

  set list
  set listchars=tab:»·,trail:·
It will not give you a file-wide warning but it will make tabs stand out (along with trailing whitespace).

Not much help if you actually want tabs, granted.

Re: Show HN: vim-airline

#12
Is there a nice status line plugin that isn't full of color / visual noise? This would be by far the loudest and most animated part of my vim screen. I've tried powerline too and found it little but a distraction.

I basically don't need to know which mode I'm in, either - if I somehow forget, or come back to vim after a while, I can just hit escape to reset its state.

Re: Show HN: vim-airline

#14
I've spent hours trying to get powerline to work with the patched fonts on OSX and Macvim without any results. This is lightweight, simple and just worked out of the box. Also the light theme is amazing. THANK YOU!

Re: Show HN: vim-airline

#17
post #11

This is slick. Anyone with more vim-fu than me have a good way to add mixed tabs/spaces warnings to airline?

You can accomplish something similar with listchars and list: set list set listchars=tab:»·,trail:· It will not give you a file-wide warning but it will make tabs stand out (along with trailing whitespace). Not much help if you actually want tabs, granted.

Oddly enough I added listchars data to my vimrc today without even thinking it would be helpful for detecting mixed. This ought to be good enough for now, thanks!

Re: Show HN: vim-airline

#18
post #2

The delay in leaving insert mode used to drive me nuts in vim-powerline. I posted an issue and the author pointed me to this helpful Vim config snippet as a workaround (original link gone as the vim-powerline issue tracker has been removed, so reposting as a gist): https://gist.github.com/brendonrapp/5944296 I imagine the delay that the README for this project is referring to might be the same thing, so hopefully it…

Oh brilliant, I didn't even realize it was powerline that was giving me this issue. They should probably consider making this trick more prominent.

Re: Show HN: vim-airline

#19

I've spent hours trying to get powerline to work with the patched fonts on OSX and Macvim without any results. This is lightweight, simple and just worked out of the box. Also the light theme is amazing. THANK YOU!

you're welcome! i had a lot of fun writing this.
Post reply on HN