jeudi 20 novembre 2014

10 questions to Bram Moolenaar

You can find the interview here and read reddit comments here.

jeudi 13 novembre 2014

Moving from Vundle to vim-plug

I used Vundle for a long time. I just discovered vim-plug and was seduced by the animated gif showing the power of parallelism. Here's the reason of the switch:

  • :PlugInstall or :PlugUpdate run in parallel. They provides a really faster way to install or update your plugins.
  • :PlugUpgrade provides a way to upgrate vim-plug
  • let g:plug_url_format = 'git@github.com:%s.git' in your ~/.vimrc to be able to push modification from an installed plugin. Github's http urls are readonly by default.
  • Simpler .vimrc configuration and useful options like 'on' (On-demand loading: Commands or <Plug>-mappings), 'for' (On-demand loading: File types) or 'on' (Post-update hook (string or funcref))

Vim must have +ruby or you can use neovim.

jeudi 6 novembre 2014

vim's breakindent option is amazing

See this post for a full explanation and a screenshot that says it all:

http://www.reddit.com/r/vim/comments/2jjtad/this_picture_says_it_all_thanks_to_uchrisbra10/

You work with long lines.
You wrap them.
It's ok but it messes the indentation.

Try set breakindent in your ~/.vimrc file.