Tuesday, May 6, 2014

Re: Odd behaviour with :q!

On Tuesday, 6 May 2014 14:01:22 UTC+1, Tim Chase wrote:
> On 2014-05-06 04:18, Graham Nicholls wrote:
>
> > On a RHEL 6.2 server, I get odd behaviour with vim 7.2.411;
>
> > randomly at a frequency of about 1 in 5, entering :q! (when in
>
> > command mode) puts me into insert mode after adding an M and a
>
> > blank line.
>
> >
>
> > A subsequent :q! usually works, but sometimes does the same.
>
> >
>
> > I'm using konsole under KDE if that's of interest.
>
>
>
> It would be more helpful to know what plugins and non-standard
>
> settings you have. I'm going to guess that if you repeatedly try
>
>
>
> vim -u NONE ...

>
>
>
> -tim

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.

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:

[root@xxxxxxxxxxxxxxx ~]# echo $EXINIT
set ts=2 ht=2 sw=2 sm ws ic ai

I have no plugins, and it's a freshly installed box, so nothing non-standard. Must be something Redhat have done. Any idea how I can track this down, and thanks for the useful response. I'm quite surprised this hasn't been seen before.

Graham

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment