Live data from Hacker News

Show HN: vim-airline

github.com

1–10 of 28 posts

Re: Show HN: vim-airline

#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 can be alleviated with this same trick.

EDIT: Looks like the official Powerline docs share this little trick now: https://powerline.readthedocs.org/en/latest/tipstricks.html

Re: Show HN: vim-airline

#7
I happen to really like this. I used a few lines in vimrc to make mine a little more practical for me:

  "" airline settings
  " remove separators
  let g:airline_left_sep=''
  let g:airline_right_sep=''
  " remove unused modes
  let g:airline_enable_fugitive=0
  let g:airline_enable_syntastic=0
  " set second section to filename
  let g:airline_section_b="%f"
  " empty third and fourth sections
  let g:airline_section_c=""
  let g:airline_section_x=""
  " put filetype in fifth section
  let g:airline_section_y="%Y"
curious to see how other people have theirs configured.

my full vim config is on github [1].

[1]: https://github.com/daturkel/vim-config

Post reply on HN