1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 19:05:46 +01:00

Add :map -arg. Document :com -literal.

This commit is contained in:
Kris Maglione
2011-02-03 02:00:47 -05:00
parent 8b6086fb7f
commit edecec56f9
5 changed files with 14 additions and 3 deletions

View File

@@ -482,6 +482,7 @@ var Mappings = Module("mappings", {
args["-description"],
Command.bindMacro(args, "-keys", function (params) params),
{
arg: args["-arg"],
count: args["-count"],
noremap: args["-builtin"],
persist: !args["-nopersist"],
@@ -506,6 +507,10 @@ var Mappings = Module("mappings", {
hereDoc: true,
literal: 1,
options: [
{
names: ["-arg", "-a"],
description: "Accept an argument after the requisite key press",
},
{
names: ["-builtin", "-b"],
description: "Execute this mapping as if there were no user-defined mappings"