kjcdb8er wrote:
Bill,
Thanks for your help. Based on your suggestions I checked on the $VIMRUNTIME
variable, and it was not set in my environment variables. Also, $PATH did
not include the vim folder (I don't know if that makes a difference or not).
After setting these variables, all menus appear to be working properly
(yay!) and the tests you described produced similar results from my command
prompt (although no file temp\vfile was created; instead, dialog windows
popped up containing the information described. gvim %temp\vfile opened a
blank file. )
Do you know if file name tab completions need to be initialized separately?
Thanks again,
kjc
$VIMRUNTIME should not be set in the environment outside of Vim. Vim sets it
itself at startup based on $VIM, and it also sets $VIM at startup based on
where the Vim executable is found. By default you would have:
- vim.exe and gvim.exe are in C:\Program Files\Vim\vim70
- Vim sets $VIM to C:\Program Files\Vim
- Vim sets $VIMRUNTIME to C:\Program Files\Vim\vim70
The Program Files\vim\vim70 directory should be in the PATH if you want to be
able to easily invoke Vim from the Dos Box command-line. If you only invoke it
via a desktop shortcut which includes the full path, it doesn't matter whether
the executable is in the PATH or not.
Something else: If you don't have a vimrc file, I ecommend that you create one
(by using ":e ~/_vimrc", without the quotes, in Vim):
runtime vimrc_example.vim
Then save your work and restart Vim. You will, as time goes by, add your own
settings below the above line, which, among others, sets up menus and syntax
highlighting.
Best regards,
Tony.