[EMAIL PROTECTED] wrote:
"Yakov Lerner" <[EMAIL PROTECTED]> writes:
1. Check your env. var. $VIMINIT.
If VIMINIT is set, vim will skip ~/.vimrc
It shows blank so not set, and I've posted the output of
: echo $MYVIMRC
/home/reader/.vimrc
So it is appartently being sourced.
I'm starting to think its something inside of .vimrc. And that
appears to be the case. Maybe something new in versoin 7 has a
problem with my old sloppy vimrc.
I've created this .vimrc:
set nocompatible " Use Vim defaults (much better!)
set bs=2 " allow backspacing over everything in insert mode
set backup " keep a backup file
set viminfo='20,\"100 " read/write a .viminfo file, don't store more
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
And sure enough it starts as expected with that stuff loaded. I see
my curor position and line numbers. So looks like I just need to find
what section is causing the problem and either change or remove it.
[...]
Try running Vim as "vim -D" with your usual vimrc. Then when you see the
">" prompt, you may optionally run ":echo" commands to see what happens,
then hit s (Step into) or n (Next line) until you see what goes wrong.
(s steps into functions and scripts, n lets them run and stops only when
they come back. See ":help debug-mode" and ":help >cont" for details.)
Note: The line displayed before the > prompt is the one which is _about_
to be executed, not the one which _has just_ been executed.
Best regards,
Tony.