Tuesday, October 30, 2012

Re: :source command

On 12:42 Tue 30 Oct , Adolfo Olivera wrote:
> Hi,
> Would somebody explain me essentially what is the :source command used
> for and how.
>
> --
> 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

Hi,

There is :source command and :runtime command, which are similar.
:source {file}
executes commands written in a {file} The {file} is usually a VimL
script (plugin, filetype plugin, color scheme, indent file, etc). It
may contain any ex-commands, and VimL declarations.
:runtime {file}
does the same but the {file} is search in 'runtimepath'.

Best regards,
Marcin

--
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

No comments:

Post a Comment