From 0880257f8b73f6bc308542a80ed470295492c9fd Mon Sep 17 00:00:00 2001 From: teramako Date: Sun, 21 Sep 2008 12:14:40 +0000 Subject: Fix: * indent * command arguments handling git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@19677 d0d07461-0603-4401-acd4-de1884942a52 --- copy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'copy.js') 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){ -- cgit v1.2.3