Sunday, February 19, 2017

Re: setup on dos machine

Best regards,
Tony.


On Sun, Feb 19, 2017 at 2:31 AM, email from <c71ckt09@gmail.com> wrote:
> is this complicated directory hard coded into vim.
> i would like to put all the files in one directory.

You can't.
1) MS-DOS is not supported anymore in recent versions of Vim
2) Vim needs its runtime files in a number of directories, see :help
'runtimepath'

Even on MS-DOS, at least on versions which supported hard disks,
multiple directories were a standard features of the operating system.

>
> what are ALL of the environment variables?
>
> the doc says that the environment both start with
> a $ and do not

Starting environment variables with a dollar sign is the Unix
convention, used inside Vim. On Dos/Windows (but not inside Vim) you
bracket environment variables with percent signs, as follows:
the PATH environment variable is known by COMMAND.COM on the command
line as %PATH% and by Vim as $PATH
the HOME envionment variable, if you have one, is known by COMMAND.COM
as %HOME% and by Vim as $HOME
etc.

but when you set an environment variable in COMMAND.COM, you use the
bare name. For instance, to set the $VIM directory, you would tell
COMMAND.COM

set VIM C:\SOME\PATH\TO\MY\VIM\FILES

or you would tell Vim

:let $VIM = 'C:/SOME/PATH/TO/MY/VIM/FILES'

(forward slash separators is another Unix convention).

>
> ie vim and $vim. which is it.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: