Guys, I need to figure out how to get vim to start at the last cursor edit position when opening a file previously edited.
In the past my all vim installations have already been set to do that automatically when I invoke the editor, but the current one doesn't.
I've tried the help docs and google, but can't figure it out.
My .vimrc is:
Code:
if &term =~ "xterm"
if has("terminfo")
set t_Co=8
set t_Sf=[3%p1%dm
set t_Sb=[4%p1%dm
else
set t_Co=8
set t_Sf=[3%dm
set t_Sb=[4%dm
endif
endif
syntax enable
colorscheme delek
set showmatch
set noautoindent
set tabstop=4
set shiftwidth=4
set softtabstop=4
set ruler
and I do have a .viminfo file that looks ok (I think), but vim doesn't seem to use the info from it to do the above.
If it's any help, this is on Solaris 10 using ksh.
This is a desktop installation, so I do have root access if needed.