1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 01:05:48 +01:00
Files
pentadactyl-pm/xulmus/locale/en-US/starting.txt
2009-03-31 23:41:05 +11:00

61 lines
2.3 KiB
Plaintext

HEADER
Xulmus does not yet read any command-line options. When it does, they will
be documented here.
section:Initialization[initialization,startup]
At startup, Xulmus completes the following tasks in order.
1. Xulmus can perform user initialization commands. When
one of the following is successfully located, it is executed, and no
further locations are tried.
a. |$XULMUS_INIT|
_$XULMUS_INIT_ -- May contain a single Ex command (e.g.,
"[c]:source {file}[c]").
b. [a]\~/_xulmusrc[a] -- Windows only. If this file exists, its contents
are executed and _$MY_XULMUSRC_ set to its path.
c. [a]\~/.xulmusrc[a] -- If this file exists, its contents are executed.
2. If 'exrc' is set, then any RC file in the current directory is also sourced.
3. All directories in 'runtimepath' 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 'noloadplugins' is set. Any particular plugin will not be loaded if
it has already been loaded (e.g., by an earlier [c]:loadplugins[c]
command).
The user's ~ (i.e., "home") directory is determined as follows:
* On Unix and Mac, the environment variable _$HOME_ is used.
* On Windows, Xulmus checks for the existence of _%HOME%_, then
_%USERPROFILE%_, and then _%HOMEDRIVE%%HOMEPATH%_. It uses the first one
it finds.
section:Saving{nbsp}settings[save-settings]
|:mkx| |:mkxulmusrc|
||:mkx[ulmusrc][!] [a][file][a]|| +
________________________________________________________________________________
Write current key mappings and changed options to [a][file][a]. If no
[a][file][a] is specified then _~/.xulmusrc_ is written unless this file
already exists. The special version [c]:mkxulmusrc![c] will overwrite
[a][file][a] if it exists.
Warning: this differs from Vim's behavior which defaults to writing the file
in the current directory.
________________________________________________________________________________
section:Restarting[restarting]
|:res| |:restart| +
||:res[tart]||
________________________________________________________________________________
Force Xulmus to restart. Useful when installing extensions.
________________________________________________________________________________
// vim: set filetype=asciidoc: