<commit_before>HEADER

|repeat| +

Vimperator can repeat a number of commands and record macros.

section:Macros[macros,complex-repeat]

|q|
||q {0-9a-zA-Z}|| +
____________________________________________________________________________
Record a key sequence into a macro.
Available macros are {0-9a-zA-Z} (uppercase to append).
Type [m]q[m] to stop recording.
____________________________________________________________________________


|:macros|
||:mac[ros] [args]|| +
________________________________________________________________________________
List recorded macros matching the optional regular expression [args]. If no regex is
given, list all macros.
________________________________________________________________________________


|:delmac| |:delmacros|
||:delmac[ros] {args}|| +
||:delmac[ros]!||
________________________________________________________________________________
Delete recorded macros matching the regular expression [args]. If [!] is given
all macros are deleted.
________________________________________________________________________________


|@| |:play|
||:pl[ay] {arg}|| +
||[count]@{arg}||
____________________________________________________________________________
Plays the contents of macro with name {arg} [count] times. The [m]@[m] mapping
only accepts {0-9a-z} as {arg}.
____________________________________________________________________________


|@@|
||[count]@@||
____________________________________________________________________________
Replay the last executed macro [count] times.
____________________________________________________________________________


section:Using{nbsp}scripts[using-scripts]

|:so| |:source|
||:so[urce][!] {file}|| +
________________________________________________________________________________
Read Ex commands, javascript, or CSS from {file}. You can either source files
which mostly contain Ex commands like [c]map < gt[c] and put JavaScript code
within a:

--------------------------------------------------------------------------------
js <<EOF
hello = function () {
  alert("Hello world");
}
EOF
--------------------------------------------------------------------------------
Or you can alternatively source a file which ends in _.js_. These files are
automatically sourced as pure JavaScript files.

Note: In both cases you must add functions to the global window object like
shown above, functions written as:
--------------------------------------------------------------------------------
function hello2() {
  alert("Hello world");
}
--------------------------------------------------------------------------------
are only available within the scope of the script.<commit_msg>fix typo in :source help<commit_after>HEADER

|repeat| +

Vimperator can repeat a number of commands and record macros.

section:Macros[macros,complex-repeat]

|q|
||q {0-9a-zA-Z}|| +
____________________________________________________________________________
Record a key sequence into a macro.
Available macros are {0-9a-zA-Z} (uppercase to append).
Type [m]q[m] to stop recording.
____________________________________________________________________________


|:macros|
||:mac[ros] [args]|| +
________________________________________________________________________________
List recorded macros matching the optional regular expression [args]. If no regex is
given, list all macros.
________________________________________________________________________________


|:delmac| |:delmacros|
||:delmac[ros] {args}|| +
||:delmac[ros]!||
________________________________________________________________________________
Delete recorded macros matching the regular expression [args]. If [!] is given
all macros are deleted.
________________________________________________________________________________


|@| |:play|
||:pl[ay] {arg}|| +
||[count]@{arg}||
____________________________________________________________________________
Plays the contents of macro with name {arg} [count] times. The [m]@[m] mapping
only accepts {0-9a-z} as {arg}.
____________________________________________________________________________


|@@|
||[count]@@||
____________________________________________________________________________
Replay the last executed macro [count] times.
____________________________________________________________________________


section:Using{nbsp}scripts[using-scripts]

|:so| |:source|
||:so[urce][!] {file}|| +
________________________________________________________________________________
Read Ex commands, JavaScript, or CSS from {file}. You can either source files
which mostly contain Ex commands like [c]map < gt[c] and put JavaScript code
within a:

--------------------------------------------------------------------------------
js <<EOF
hello = function () {
  alert("Hello world");
}
EOF
--------------------------------------------------------------------------------
Or you can alternatively source a file which ends in _.js_. These files are
automatically sourced as pure JavaScript files.

Note: In both cases you must add functions to the global window object like
shown above, functions written as:
--------------------------------------------------------------------------------
function hello2() {
  alert("Hello world");
}
--------------------------------------------------------------------------------
are only available within the scope of the script.
{'fraction_non_alphanumeric': 0.19679761683113015, 'fraction_numerical': 0.002606590951405697, 'mean_word_length': 3.510495382031906, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3675373', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1033, 'n_words': 395}