diff --git a/.vimrc b/.vimrc index c6aa71b..fcd7d43 100644 --- a/.vimrc +++ b/.vimrc @@ -82,6 +82,8 @@ map p :CtrlP %% set list set listchars=tab:▸\ " print tabs with a special character (add ",eol:·" for end of lines) +au VimEnter * echomsg system('/usr/games/fortune vimtweets') + "au FocusLost * :wa " save every opened buffer when the window lost focus