vitality.vim restores focus events to terminal Vim

Steve Losh, Vim extraordinaire and creator of extravagant zsh prompts has released vitality.vim, a plugin that brings back focus events to terminal Vim. Focus events are vital if you want to save buffers on focus change, for instance:

" Save when losing focus
au FocusLost * :silent! wall

Steve has plenty of Vim goodies under his GitHub account and his dotfiles are a treasure trove, especially his .vimrc. Be sure to check out clam, his plugin for bringing the shell into Vim.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00