TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: vim-airline

95 pointsby hyperblingalmost 12 years ago

14 comments

Legionalmost 12 years ago
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): <a href="https://gist.github.com/brendonrapp/5944296" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;brendonrapp&#x2F;5944296</a><p>I imagine the delay that the README for this project is referring to might be the same thing, so hopefully it can be alleviated with this same trick.<p>EDIT: Looks like the official Powerline docs share this little trick now: <a href="https://powerline.readthedocs.org/en/latest/tipstricks.html" rel="nofollow">https:&#x2F;&#x2F;powerline.readthedocs.org&#x2F;en&#x2F;latest&#x2F;tipstricks.html</a>
评论 #6004171 未加载
daturkelalmost 12 years ago
I happen to really like this. I used a few lines in vimrc to make mine a little more practical for me:<p><pre><code> &quot;&quot; airline settings &quot; remove separators let g:airline_left_sep=&#x27;&#x27; let g:airline_right_sep=&#x27;&#x27; &quot; remove unused modes let g:airline_enable_fugitive=0 let g:airline_enable_syntastic=0 &quot; set second section to filename let g:airline_section_b=&quot;%f&quot; &quot; empty third and fourth sections let g:airline_section_c=&quot;&quot; let g:airline_section_x=&quot;&quot; &quot; put filetype in fifth section let g:airline_section_y=&quot;%Y&quot; </code></pre> curious to see how other people have theirs configured.<p>my full vim config is on github [1].<p>[1]: <a href="https://github.com/daturkel/vim-config" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;daturkel&#x2F;vim-config</a>
hoovalmost 12 years ago
&gt; the old version still works well, but since it&#x27;s deprecated new features won&#x27;t get added<p>While it&#x27;s deprecated, the author is actively working on this: <a href="https://github.com/Lokaltog/powerline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Lokaltog&#x2F;powerline</a>, which works well and has even more functionality.
nerdklersalmost 12 years ago
I&#x27;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!
评论 #6005828 未加载
评论 #6004374 未加载
wahnfriedenalmost 12 years ago
Is there a nice status line plugin that isn&#x27;t full of color &#x2F; visual noise? This would be by far the loudest and most animated part of my vim screen. I&#x27;ve tried powerline too and found it little but a distraction.<p>I basically don&#x27;t need to know which mode I&#x27;m in, either - if I somehow forget, or come back to vim after a while, I can just hit escape to reset its state.
评论 #6004450 未加载
reaperhulkalmost 12 years ago
This is slick. Anyone with more vim-fu than me have a good way to add mixed tabs&#x2F;spaces warnings to airline?
评论 #6003580 未加载
评论 #6004391 未加载
nilknalmost 12 years ago
I like this a lot, and it&#x27;s particularly relevant to me since I occasionally find myself running an older version of vim. Therefore I always like seeing plugins written in pure vimscript.
da02almost 12 years ago
He also has some cool blog vim-related posts: <a href="http://bling.github.io/" rel="nofollow">http:&#x2F;&#x2F;bling.github.io&#x2F;</a>
spupyalmost 12 years ago
Sadly this is incredibly slow on my netbook. Takes ages to return to normal mode. Back to powerline, or maybe vanilla.
评论 #6006922 未加载
da02almost 12 years ago
How long was the flight?<p>Also: thanks for publishing this!
评论 #6004382 未加载
lsiebertalmost 12 years ago
Yeah, I have been using this for a few days, and it is very nice.
jpterryalmost 12 years ago
Very cool. Much easier to get working than powerline, imho.
ninetaxalmost 12 years ago
Will it install with pathogen?<p>Looks great btw!
评论 #6002797 未加载
评论 #6003604 未加载
评论 #6005004 未加载
sebslomskialmost 12 years ago
Great job, I love it!