From e94a2eedde5b7eff64cfa7038796f804eb50562a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 18 Jun 2019 17:06:17 +1200 Subject: Remove 'shiftwidth', add 'showmatch' in ~/.exrc --- ex/exrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex/exrc b/ex/exrc index 355b48ee..c1214c2f 100644 --- a/ex/exrc +++ b/ex/exrc @@ -1,5 +1,5 @@ " POSIX ex/vi settings set autoindent set report=0 -set shiftwidth=4 +set showmatch set showmode -- cgit v1.2.3 From 01b124f0850a0bcc4be0918bb526c13bb5cc5678 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 18 Jun 2019 17:06:43 +1200 Subject: More Vim compatibility tweaks --- vim/vimrc.stub.vim | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim index a7136aec..175aa853 100644 --- a/vim/vimrc.stub.vim +++ b/vim/vimrc.stub.vim @@ -9,10 +9,12 @@ if !&compatible && !exists('$POSIXLY_CORRECT') && v:version >= 700 endif " If we get this far, it means we're running a tiny, 'compatible', and/or -" ancient version of Vim. Force 'compatible' on, remove our user runtime -" directory, and start vi v3.7 from July 1985. Don't grizzle, just use it. -" It's good for you, like raisin bran. +" ancient version of Vim. Strip out our user runtime directories from +" 'runtimepath', force 'compatible' on, and fire up Sun OS 4.x vi v3.7, from +" July 1985. Don't grizzle, just use it. It's good for you, like raisin +" bran. " -set compatible set runtimepath-=~/.vim set runtimepath-=~/.vim/after +set compatible +silent! source ~/.exrc -- cgit v1.2.3 From ffaad612ce025d7d18ac639087f01b14d7e4f885 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 18 Jun 2019 17:11:35 +1200 Subject: Add some more commentary --- vim/vimrc.stub.vim | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim index 175aa853..dfadac92 100644 --- a/vim/vimrc.stub.vim +++ b/vim/vimrc.stub.vim @@ -1,18 +1,24 @@ +" We have a big, important decision to make here. +" " Check that we're not running in 'compatible' mode, nor that the environment " calls for the same, and that we're running Vim v7.0.0 or newer. If it's all -" clear, we can load the main vimrc file from ~/.vim/vimrc, and then stop -" sourcing the rest of this file. +" clear, we can load the main vimrc file from ~/.vim/vimrc to use Vim in all +" of its incompatible glory, and then stop sourcing the rest of this file. " if !&compatible && !exists('$POSIXLY_CORRECT') && v:version >= 700 runtime vimrc finish endif -" If we get this far, it means we're running a tiny, 'compatible', and/or -" ancient version of Vim. Strip out our user runtime directories from -" 'runtimepath', force 'compatible' on, and fire up Sun OS 4.x vi v3.7, from -" July 1985. Don't grizzle, just use it. It's good for you, like raisin -" bran. +" If we got this far, it means we're running a tiny, 'compatible', and/or +" ancient version of Vim. +" +" So, strip out our user runtime directories from 'runtimepath', force +" 'compatible' on, source your trusty ~/.exrc, put on your dubbed cassette +" copy of Kraftwerk's 'Computerwelt', and start using Sun OS 4.x vi v3.7, from +" July 1985. +" +" Don't grizzle, just use it. It's good for you, like raisin bran. " set runtimepath-=~/.vim set runtimepath-=~/.vim/after -- cgit v1.2.3 From 67d7e04d1724692289757a21084da32359951a83 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 18 Jun 2019 17:11:40 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ad9474ea..6f6b8700 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v6.27.0 -Tue, 18 Jun 2019 05:02:23 +0000 +tejr dotfiles v6.28.0 +Tue, 18 Jun 2019 05:11:40 +0000 -- cgit v1.2.3