Hello vi users,
I recently changed job and thus I`m forced to downgrade with my vi. I
started with 6.2 many years ago, went forward till 7.2, but now I have
to go back to 6.4 and it is not trivial at all, it is in fact driving
me crazy. :(
I`m in the painful process of migrating all my scripts and modelines
to 6.4 compatible.
I have a few issues I could not resolve and it is not trivial at all
to figure out in which release a particular setting was introduced. I
need conformation here, cannot recall what I was adding when along the
road from 6.3 to 7.2.
Please help, here is a short list, I wasted one day already on a trial
period, hope it will be tolerated by my boss. :o
1. Some of the vim scripts are complaining with the good old ^M error,
as if they were edited between dos and unix. But they were not, and
they do not contain ^M at all. Neither set ff=unix and saving them,
nor the :%s/<ctrlv><ctrlm>/gc did not find any instance of ^M. Luckily
these are either colorscheme files or vim7 related ones (genutils
demanding vim7 and its dependencies), so I just created a colors.vim7
and a plugins.vim7 under .vim and moved these temporarilz out of sight
of vim startup process, but still, it is just driving me crazy.
2. virtualedit=onemore does not work in 6.4, I get E474 Invalid
argument. All the other options do work. The +virtualedit feature is
compiled into the executable.
3. Can anybody confirm cul and cuc were introduced after 6.4 and they
don't work in 6.4? I don't have access to vim7 documentation anymore,
the onlz thing I could figure out there is no trace of them in the 6.4
documentation.
4. Number of foldcolumns (fdc) is always 1 when opening a file,
regardless of what is set in the modelines. It is just ignored.
Everything before and after that is set, but not this one. Has to be
done manually on each file opened.
Example modeline row:
vim600:number:ts=4:fdc=4:nowrap:nolbr:ignorecase:incsearch:hls:pheader=%!PPPrintHeader()
Here fdc is expected to be set to 4, but it will be 1 after processing
the modeline. I can set it to 4 manually.
5. The pheader in the example above does not work. It was working in
7.1, now the function name ("PPPrintHeader()") is printed literally on
top of sheets.
It was put into my .vimrc approx 2 years ago, and was working fine since then:
"...
" 2006.12.20
function! PPPrintHeader()
return ("%<%f%y%m%= [" . strftime("%Y.%m.%d") . " " .
strftime("%H:%M:%S") . "] [%p %%] Page %N")
endfunction
set printheader=%!PPPrintHeader()
..."
I only guess this #5 is related to issue #1, i.e. when I open my
.vimrc with gvim, it is also complaining here with the ^M characters.
I guess #1 should be solved first and see then what is remaining from
the issues. And then #2 and #3 just don't work in this release.
Can anybody help me with these above?
Thank you in advance.
Have a nice day,
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---