Wynn Netherland changelog.com/posts

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.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00