1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 06:38:12 +01:00

move macro related commands and mappings to repeat.txt

This commit is contained in:
Doug Kearns
2008-05-29 20:34:21 +00:00
parent c18b594d6e
commit 4d3519c0a5
7 changed files with 62 additions and 83 deletions

View File

@@ -67,11 +67,11 @@ liberator.Search = function () //{{{
// set searchString, searchPattern, caseSensitive, linksOnly
function processUserPattern(pattern)
{
// strip off pattern terminator and offset
if (backwards)
pattern = pattern.replace(/\?.*/, "");
else
pattern = pattern.replace(/\/.*/, "");
//// strip off pattern terminator and offset
//if (backwards)
// pattern = pattern.replace(/\?.*/, "");
//else
// pattern = pattern.replace(/\/.*/, "");
searchPattern = pattern;
@@ -292,7 +292,8 @@ liberator.Search = function () //{{{
this.find(command, backwards);
lastSearchBackwards = backwards;
lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX
//lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX
lastSearchPattern = command;
lastSearchString = searchString;
// TODO: move to find() when reverse incremental searching is kludged in

View File

@@ -12,7 +12,7 @@ List mappings how to scroll the window.
section:Jumping{nbsp}to{nbsp}Elements[jumping]
|gi|
|gi| +
||[count]gi||
________________________________________________________________________________
Focus last used input field. If there is no last input field, it focuses the

View File

@@ -9,16 +9,31 @@ section:Macros[macros]
|q|
||q {arg}|| +
____________________________________________________________________________
Record a key sequence into a macro.
Available macros are {0-9a-zA-Z} (uppercase to append).
Type 'q' to stop recording.
____________________________________________________________________________
|:macros| +
||:mac[ros] [regex]||
________________________________________________________________________________
List recorded macros matching the optional regular expression. If no regex is
given, list all.
________________________________________________________________________________
|:delmac| |:delmacros|
||:delmac[ros] [regex]|| +
________________________________________________________________________________
Delete recorded macros matching a regular expression.
________________________________________________________________________________
|@| |@@| |:play|
||[count]@ {arg}|| +
||[count]@@|| +
||:play {arg}|| +
||:pl[ay] {arg}|| +
____________________________________________________________________________
Plays the contents of macro {0-9a-z}.
@@ -27,7 +42,7 @@ Plays the contents of macro {0-9a-z}.
:play {arg} plays a recorded macro.
____________________________________________________________________________
section:Profiling[profiling]
section:Profiling[profile,profiling]
:time ...

View File

@@ -727,21 +727,6 @@ opposite direction.
________________________________________________________________________________
|q| +
||q {arg}||
________________________________________________________________________________
Record a keysequence into a macro. Available macros are {0-9a-zA-Z} (uppercase
to append).type 'q' to stop recording.
________________________________________________________________________________
|@|
||[count]@ {arg}||
________________________________________________________________________________
Execute the contents of macro {0-9a-z}. @@ repeats the previous @{0-9a-z}
________________________________________________________________________________
|\*|
||\*||
________________________________________________________________________________
@@ -1114,28 +1099,6 @@ Add {cmd} to the list of commands Vimperator will execute on {event}:
________________________________________________________________________________
|:macros| +
||:mac[ros] [regex]||
________________________________________________________________________________
List recorded macros matching the optional regular expression. If no regex is
given, list all.
________________________________________________________________________________
|:delmac| |:delmacros|
||:delmac[ros] [regex]|| +
________________________________________________________________________________
Delete recorded macros matching a regular expression.
________________________________________________________________________________
|:pl| |:play|
||:pl[ay] <macro>||
________________________________________________________________________________
Play a macro.
________________________________________________________________________________
|:map|
||:map {lhs} {rhs}|| +
||:map {lhs}|| +