mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 05:34:12 +01:00
Delivered-To: maglione.k@gmail.com Received: by 10.216.136.214 with SMTP id w64cs2667wei; Fri, 10 Sep 2010 00:53:12 -0700 (PDT) Return-Path: <dougkearns@gmail.com> Received-SPF: pass (google.com: domain of dougkearns@gmail.com designates 10.227.138.146 as permitted sender) client-ip=10.227.138.146; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dougkearns@gmail.com designates 10.227.138.146 as permitted sender) smtp.mail=dougkearns@gmail.com; dkim=pass header.i=dougkearns@gmail.com Received: from mr.google.com ([10.227.138.146]) by 10.227.138.146 with SMTP id a18mr590354wbu.151.1284105192263 (num_hops = 1); Fri, 10 Sep 2010 00:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=8pQUW5WLnsK61m2IZPWOnOPaQlu/k2jhkbbOFOecr2A=; b=W/+613sGtVKvI12FR9kJjsK4c4c2tUpTk9WgTdUFhFXItgDA8yaTCnb2zrzYbn+ReP yXyrVWu+fFAeNQKtk3afP+gKh9HlCNufq6UIoLRk9k2jwCsIoUO75FXbSk7MXL4Q1G2y NYDYeWNUccCowS2PRPiHgM0Vt+Af0nU/tM6T4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=w4FhoErEFuUuIoaJOAnwhJjs1flQd2Yz5nkbRlPcLLhMm0qhUMg62PJ7uMCsJv9mdr +nGqpFplrRmAhsU2KTAf1k8vqJ+SWYNnSpE+axoyUFCZ+Xc9OfvWvsVF8cVg46wmkUKF y6uJJYEoMmpAfYQeX7rchyTlGhU9g7Mm2YZUk= Received: by 10.227.138.146 with SMTP id a18mr590354wbu.151.1284105192249; Fri, 10 Sep 2010 00:53:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.135.131 with HTTP; Fri, 10 Sep 2010 00:52:52 -0700 (PDT) Message-ID: <AANLkTi=F6XwDTh+++ph4Qdw5pm3YAMvwvZNBi49nU84=@mail.gmail.com> To: Kris Maglione <maglione.k@gmail.com> Content-Type: multipart/mixed; boundary=00163645735ad6998c048fe309e3
182 lines
5.4 KiB
XML
182 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
|
||
|
||
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
|
||
|
||
<document
|
||
name="starting"
|
||
title="&dactyl.appname; Starting"
|
||
xmlns="&xmlns.dactyl;"
|
||
xmlns:html="&xmlns.html;">
|
||
<h1 tag="starting">Starting &dactyl.appname;</h1>
|
||
<toc start="2"/>
|
||
|
||
<h2 tag="startup-options">Command-line options</h2>
|
||
|
||
<p>
|
||
Command-line options can be passed to &dactyl.appname; via the -&dactyl.name; &dactyl.host;
|
||
option. These are passed as single string argument.
|
||
E.g., &dactyl.hostbin; -&dactyl.name; <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
|
||
<t>initialization</t>.
|
||
</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
|
||
<t>initialization</t>.
|
||
</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 <t>initialization</t> 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, &dactyl.appname; completes the following tasks in order. </p>
|
||
|
||
<ol>
|
||
<li>
|
||
<p>
|
||
&dactyl.appname; first searches for user initialization commands in
|
||
the following locations. The first of these to be found is executed,
|
||
after which no further locations are searched.
|
||
</p>
|
||
|
||
<ol>
|
||
<li tag="$&dactyl.idname;_INIT">
|
||
<em>$&dactyl.idname;_INIT</em>
|
||
<strut/>
|
||
May contain a single Ex command (e.g., "<ex>:source <a>file</a></ex>").
|
||
</li>
|
||
<li tag="$MY_&dactyl.idname;RC">
|
||
<em>~/&dactyl.name;rc</em>
|
||
<strut/>
|
||
Windows only. If this file exists, its contents
|
||
are executed and <em>$MY_&dactyl.idname;RC</em> set to its path.
|
||
</li>
|
||
<li>
|
||
<em>~/.&dactyl.name;rc</em>
|
||
<strut/>
|
||
If this file exists, its contents are executed.
|
||
</li>
|
||
</ol>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
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.
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
All directories in <o>runtimepath</o> are searched for a
|
||
‘plugins’ subdirectory and all yet unloaded plugins are loaded.
|
||
For each plugins directory, all <tt>*.{js,vimp}</tt> files (including
|
||
those in further subdirectories) are sourced alphabetically. No
|
||
plugins will be sourced if,
|
||
</p>
|
||
|
||
<ul>
|
||
<li><o>noloadplugins</o> is set,</li>
|
||
<li>the ++noplugin command-line option was specified, or</li>
|
||
<li>the +u=NONE command-line option was specified.</li>
|
||
</ul>
|
||
|
||
<p>
|
||
Any plugin which was already loaded (e.g., by an earlier
|
||
invocation of the <ex>:loadplugins</ex> command) will be skipped.
|
||
</p>
|
||
</li>
|
||
</ol>
|
||
|
||
<p>
|
||
The user's home directory is determined as follows:
|
||
</p>
|
||
|
||
<ul>
|
||
<li>On Unix and Mac, the environment variable <em>$HOME</em> is used.</li>
|
||
<li>
|
||
On Windows, &dactyl.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.
|
||
</li>
|
||
</ul>
|
||
|
||
<h2 tag="save-settings">Saving settings</h2>
|
||
|
||
<item>
|
||
<tags>:mkp :mk&dactyl.name;rc</tags>
|
||
<spec>:mkp<oa>entadactylrc</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>~/.&dactyl.name;rc</em> is written unless this file
|
||
already exists. The special version <ex>:mk&dactyl.name;rc!</ex> will overwrite
|
||
<oa>file</oa> if it exists.
|
||
</p>
|
||
|
||
<warning>
|
||
This behavior differs differs from that of Vim, which defaults to
|
||
writing the file in the current directory.
|
||
</warning>
|
||
</description>
|
||
</item>
|
||
|
||
|
||
<h2 tag="restarting">Restarting</h2>
|
||
|
||
<item>
|
||
<tags>:res :restart</tags>
|
||
<spec>:res<oa>tart</oa></spec>
|
||
<description>
|
||
<p>Force &dactyl.host; to restart. Useful when installing extensions.</p>
|
||
</description>
|
||
</item>
|
||
|
||
|
||
|
||
</document>
|
||
<!-- vim:se sts=4 sw=4 et: -->
|