aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
Diffstat (limited to 'copy.js')
-rw-r--r--copy.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/copy.js b/copy.js
index 9afe8ca..dc4e048 100644
--- a/copy.js
+++ b/copy.js
@@ -103,7 +103,9 @@ liberator.commands.addUserCommand(['copy'],'Copy to clipboard',
function addUserMap(label, map){
liberator.mappings.addUserMap([liberator.modes.NORMAL,liberator.modes.VISUAL], map,
- label, function(){ liberator.plugins.exCopy.copy(label); }
+ label,
+ function(){ liberator.plugins.exCopy.copy(label); },
+ { rhs: label }
);
}
function getCopyTemplate(label){