out my .vimrc, the system /etc/vimrc and moved all plugins directories out
of the way, and it's still doing it.
Since installing Scientific Linux 6.2 on my box (was CentOS 5), every
time I save a file *that already exists* (so 'vim newfile' doesn't do it), I
get the "Press enter ..." prompt when I save the file.
It *appears* to be down to setting backupdir to something non-standard as
well as setting nocompatible.
I can reproduce it with:
vim -u NONE existingfile
:set backupdir=/tmp
:set nocompatible
:w
... I get a prompt. Missing out either of the 2 sets means it works OK.
By "OK", I mean I get the ["existingfile" 1L, 27C written] message on the
bottom of the screen.
When it gives me the prompt I get the above "written" message, then below
that the "Press ENTER" prompt, *and* there's a blank line (being the
terminal's bottom line) after that.
Tested on gnome-terminal and xterm. Vim 7.2.411
Has anyone got an idea? (short of me rebuilding the vim RPM to get the
latest)
--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
--
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
No comments:
Post a Comment