mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 20:37:58 +01:00
marco code, not fully functional yet
This commit is contained in:
@@ -1290,7 +1290,21 @@ vimperator.Mappings = function () //{{{
|
||||
help: "Repeat the last search 1 time (until count is supported) in the opposite direction."
|
||||
}
|
||||
));
|
||||
|
||||
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["q"],
|
||||
function (arg) { vimperator.events.startRecording(arg); },
|
||||
{
|
||||
shortHelp: "record a macro into a register",
|
||||
help: "record a macro; [a-zA-Z0-9] are valid registers",
|
||||
flags: vimperator.Mappings.flags.ARGUMENT
|
||||
}
|
||||
));
|
||||
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["@"],
|
||||
function (arg) { vimperator.events.playMacro(arg); },
|
||||
{
|
||||
shortHelp: "play a macro",
|
||||
flags: vimperator.Mappings.flags.ARGUMENT
|
||||
}
|
||||
));
|
||||
// }}}
|
||||
// HINTS mode
|
||||
// {{{
|
||||
|
||||
Reference in New Issue
Block a user