Bill McCarthy wrote:
On Sun 13-Aug-06 7:41pm -0600, Steve Hall wrote:
A normal full install should have all or nearly all these (at least my
install here on Fedora Core 5 does):
vim70/autoload/
colors/
compiler/
doc/
ftplugin/
icons/
indent/
keymap/
lang/
macros/
plugin/
print/
spell/
syntax/
tools/
tutor/
This is fairly close to what installs on a Win system. We
don't have icon/ but do have nsis/ and src/. Also the
print/ directory isn't standard with a Win installation - it
tagged along when I updated my runtime files with
runtime/dos on the FTP site.
I see bitmaps/ is not included there also. Gvim, at
startup, checks for 20 separate .bmp files for each
directory in 'rtp'. Not a startup speed enhancement. Is
there a way to shut this bitmaps searching off?
src/ shouldn't be part of your "production" installation. You need it to
compile Vim, but that should be done elsewhere than where Vim will
reside for day-to-day editing. For instance, a typical "production"
installation of Vim will reside in
C:\Program Files\vim\vim70
and its subdirectories. To compile Vim, I keep the source safely apart
(so if the compile fails, my "production Vim doesn't get clobbered), for
instance in
C:\Documents and Settings\Tony\compile\vim\vim70
and its subdirectories. The letter has, among others, a "runtime"
subdirectory for the runtime files, and a "src" subdirectory for the
source, both of which have further subdirectories. The former should
have neither src/ nor runtime/ in it.
On my Linux system, $VIM/vim70/print contains only *.ps files. These
should, I suppose, not be required on a normal Windows installation
since on Windows the ":hardcopy" command doesn't use PostScript.
Searching for *.bmp files is normal; it's explained as item 3 under
":help toolbar-icons". If your 'rtp' directories don't have bitmap/
subdirectories, or if the latter are empty, the search should proceed
rather quickly, and then you should get the built-in icons. Creating an
empty bitmaps/ subdirectory in $VIMRUNTIME may or may not make the GUI
startup marginally faster or slower. But this also brings us to another
point: if you have bitmaps/ subdirectories with nonstandard icons in
some of the 'rtp' directories, these nonstandard icons will replace the
default ones on yout toolbar. There are two ways to altogether avoid
searching for these icons:
a) :set toolbar=text
displays text-only toolbar buttons, with no icons;
b) :set guioptions-=T
suppresses the toolbar completely.
These can be placed in your gvimrc if you have one, or (bracketed by 'if
has("gui_running")') in your vimrc.
Best regards,
Tony.