Tuesday, May 6, 2014

Re: Odd behaviour with :q!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCgAGBQJTaPBBAAoJEERGtGilKM7wpRIH/2SXVFCAzI8ly4Z7RtDFiTCn
NuuEu5WqQoGbKUlTduQEqF8/oxRozNNEfxuBdyOHTgWIoeqpPHDmUrmBLi7Yqn54
T6NN1iYnk0+4OEALCUvgL29SEpd+KZ+fH1LVUYQskCOPkJoeuP6/oclwQG4uqfE2
wfTfVmXvkbNsUyrKYOIk1iGKlyiFInwNsR3CsRJdneM/XkbBUUxR90m216RrcZTN
79pSsljBCp9KqA5oB3BQIt1+ycIU9v8Ae01+1KDZ05ljwvhVLDK5RRSL1MOeBc1A
vPRIKBNZyPzhtkgXygA7ZR9B6uLS7TDrV2OH8MrBQnaffJV1WQaI1Bm3U8Mmrh4=
=l8r4
-----END PGP SIGNATURE-----
On 2014-05-06 07:09, Graham Nicholls wrote:
> On Tuesday, 6 May 2014 14:01:22 UTC+1, Tim Chase wrote:
> > vim -u NONE ...
>
> Hmmm, that's interesting:
> if I do
> # while true; do vim -u NONE ; done
> then I can run vi forever without getting the problem, which is a
> relief.

Well, that at least demonstrates that all is working correctly before
other files start mucking with your configuration. So that's good
news.

> I don't think it's my .exrc - actually, I haven't got one (it's a
> shared root account, so in my .gnbashrc, I set EXINIT:

There are several files that are checked:

:sp $VIM/vimrc
:sp ~/.vimrc
:sp ~/.gvimrc
:sp ~/.exrc
:sp $VIMRUNTIME/evim.vim

so if any of those exist you might want to check those locations (and
any files they reference) for weird mappings that are screwing with
your settings.

-tim

No comments: