From: Frank Brehm Date: Sat, 17 Dec 2016 17:01:47 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=6ce60d03cce11d90f11570d6e7888e6a29fb322c;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/vim/vimrc b/vim/vimrc index 255ab3fb..f1e5c03b 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