1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
heading:Starting{nbsp}Vimperator[starting]
|startup-options| +
Command-line options can be passed to Vimperator via the -liberator Firefox
option. These are passed as single string argument.
E.g firefox -liberator "\++cmd=\'set exrc' +u=\'tempRcFile' \++noplugin"
|+c| +
||+c={command}||
________________________________________________________________________________
Execute a single Ex command after all initialization has been performed. See
help:initialization[starting.html#Initialization].
________________________________________________________________________________
|\++cmd| +
||\++cmd={command}||
________________________________________________________________________________
Execute a single Ex command before any initialization has been performed. See
help:initialization[starting.html#Initialization].
________________________________________________________________________________
|+u| +
||+u={rcfile}||
________________________________________________________________________________
The file {rcfile} is used for user initialization commands. If {rcfile} is
"NORC" then no startup initialization is performed except for the loading of
plugins, i.e. steps 1. and 2. in
help:initialization[starting.html#Initialization] are skipped. If {rcfile} is
"NONE" then plugin loading is also skipped.
________________________________________________________________________________
|\++noplugin| +
||\++noplugin||
________________________________________________________________________________
Prevents plugin scripts from being loaded at startup. See 'loadplugins'.
________________________________________________________________________________
section:Initialization[initialization,startup]
At startup, Vimperator completes the following tasks in order.
1. Vimperator can perform user initialization commands. When
one of the following is successfully located, it is executed, and no
further locations are tried.
a. |$VIMPERATOR_INIT|
_$VIMPERATOR_INIT_ -- May contain a single Ex command (e.g.,
"[c]:source {file}[c]").
b. _\~/_vimperatorrc_ -- Windows only. If this file exists, its contents
are executed and _$MY_VIMPERATORRC_ set to its path.
c. _\~/.vimperatorrc_ -- If this file exists, its contents are executed.
2. If 'exrc' is set and the +u command-line option was not specified, 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.
* the \++noplugin command-line option was specified.
* the +u=NONE command-line option specified 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, Vimperator 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]
|:mkv| |:mkvimperatorrc|
||:mkv[imperatorrc][!] [a][file][a]|| +
________________________________________________________________________________
Write current key mappings and changed options to [a][file][a]. If no
[a][file][a] is specified then _~/.vimperatorrc_ is written unless this file
already exists. The special version [c]:mkvimperatorrc![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 the browser to restart. Useful when installing extensions.
________________________________________________________________________________
// vim: set filetype=asciidoc:
|