1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-21 17:41:27 +02:00
Files
pentadactyl-pm/vimperator/locale/en-US/starting.xml
T
Kris Maglione 0d44d919bc Replace asciidoc with native XSLT transforms.
--HG--
branch : xslt
rename : common/Makefile.common => common/Makefile
rename : vimperator/components/about-handler.js => common/components/about-handler.js
rename : vimperator/components/chrome-data.js => common/components/chrome-data.js
rename : vimperator/components/commandline-handler.js => common/components/commandline-handler.js
2009-10-21 04:46:29 -04:00

160 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://liberator/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://liberator/locale/liberator.dtd">
<document
name="starting"
title="&appname; Starting"
xmlns="http://vimperator.org/namespaces/liberator"
xmlns:html="http://www.w3.org/1999/xhtml">
<h1 tag="starting">Starting &appname;</h1>
<tags>startup-options</tags>
<p>
Command-line options can be passed to &appname; via the -vimperator &hostapp;
option. These are passed as single string argument.
E.g., firefox -vimperator <str>++cmd 'set exrc' +u 'tempRcFile' ++noplugin</str>
</p>
<item>
<tags>+c</tags>
<spec>+c <a>command</a></spec>
<description>
<p>
Execute a single Ex command after all initialization has been performed. See
[j]initialization[j].
</p>
<p>This option can be specified multiple times.</p>
</description>
</item>
<item>
<tags>++cmd</tags>
<spec>++cmd <a>command</a></spec>
<description>
<p>
Execute a single Ex command before any initialization has been performed. See
[j]initialization[j].
</p>
<p>This option can be specified multiple times.</p>
</description>
</item>
<item>
<tags>+u</tags>
<spec>+u <a>rcfile</a></spec>
<description>
<p>
The file <a>rcfile</a> is used for user initialization commands. If <a>rcfile</a> is
"NORC" then no startup initialization is performed except for the loading of
plugins, i.e., steps 1. and 2. in [j]initialization[j] are skipped. If <a>rcfile</a>
is "NONE" then plugin loading is also skipped.
</p>
</description>
</item>
<item>
<tags>++noplugin</tags>
<spec>++noplugin</spec>
<description>
<p>Prevents plugin scripts from being loaded at startup. See <o>loadplugins</o>.</p>
</description>
</item>
<h2 tag="initialization startup">Initialization</h2>
<p>At startup, &appname; completes the following tasks in order. </p>
<ol>
<li> &appname; can perform user initialization commands. When
one of the following is successfully located, it is executed,
and no further locations are tried.
<ol>
<li tag="$VIMPERATOR_INIT">
<em>$VIMPERATOR_INIT</em> — May contain a single Ex command (e.g.,
"<ex>:source <a>file</a></ex>").
</li>
<li tag="$MY_VIMPERATORRC">
<em>~/vimperatorrc</em> — Windows only. If this file exists, its contents
are executed and <em>$MY_VIMPERATORRC</em> set to its path.
</li>
<li>
<em>~/.vimperatorrc</em> — If this file exists, its contents are executed.
</li>
</ol>
</li>
<li>
If <o>exrc</o> is set and the +u command-line option was not
specified, then any RC file in the current directory is also
sourced.
</li>
<li>
All directories in <o>runtimepath</o> are searched for a
"plugin" subdirectory and all yet unloaded plugins are loaded.
For each plugin directory, all *.{js,vimp} files (including
those in further subdirectories) are sourced alphabetically. No
plugins will be sourced if:
<ul>
<li><o>noloadplugins</o> is set.</li>
<li>the ++noplugin command-line option was specified.</li>
<li>the +u=NONE command-line option specified set.</li>
</ul>
Any particular plugin will not be loaded if it has already been
loaded (e.g., by an earlier <ex>:loadplugins</ex> command).
</li>
</ol>
The user's ~ (i.e., "home") directory is determined as follows:
* On Unix and Mac, the environment variable <em>$HOME</em> is used.
* On Windows, &appname; checks for the existence of <em>%HOME%</em>, then
<em>%USERPROFILE%</em>, and then <em>%HOMEDRIVE%%HOMEPATH%</em>. It uses the first one
it finds.
<h2 tag="save-settings">Saving settings</h2>
<item>
<tags>:mkv :mkvimperatorrc</tags>
<spec>:mkv<oa>imperatorrc</oa><oa>!</oa> <oa>file</oa></spec>
<description>
<p>
Write current key mappings and changed options to <oa>file</oa>. If no
<oa>file</oa> is specified then <em>~/.vimperatorrc</em> is written unless this file
already exists. The special version <ex>:mkvimperatorrc!</ex> will overwrite
<oa>file</oa> if it exists.
</p>
<p>
Warning: this differs from Vim's behavior which defaults to writing the file
in the current directory.
</p>
</description>
</item>
<h2 tag="restarting">Restarting</h2>
<item>
<tags>:res :restart</tags>
<spec>:res<oa>tart</oa></spec>
<description>
<p>Force &hostapp; to restart. Useful when installing extensions.</p>
</description>
</item>
</document>
<!-- vim:se sts=4 sw=4 et: -->