From e73dfca9efca8e2491a16ba962c3255198a1b255 Mon Sep 17 00:00:00 2001 From: nojhan Date: Fri, 27 Apr 2012 23:51:30 +0200 Subject: [PATCH] print a one-line tip at vim startup --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) 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