From: root Date: Sat, 7 Jan 2017 09:46:12 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=5553e33154592ad8b312d23fa3719bc801ac22c4;p=config%2Fhelga%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/vim/vimrc b/vim/vimrc index 255ab3f..f1e5c03 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -167,7 +167,7 @@ augroup gentoo autocmd BufReadPost * \ if ! exists("g:leave_my_cursor_position_alone") | \ if line("'\"") > 0 && line ("'\"") <= line("$") | - \ exe "normal g'\"" | + \ exe "normal! g'\"" | \ endif | \ endif @@ -190,6 +190,10 @@ augroup END endif " has("autocmd") " }}} +" We don't want VIM to load their own built-in defaults, preferring ours here +" instead: +let g:skip_defaults_vim = 1 + " {{{ vimrc.local if filereadable("/etc/vim/vimrc.local") source /etc/vim/vimrc.local