aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
authorteramako2008-09-21 12:14:40 +0000
committerteramako2008-09-21 12:14:40 +0000
commit0880257f8b73f6bc308542a80ed470295492c9fd (patch)
treec86ec37f16838964b9c01daf24f7513ee400aa8f /copy.js
parent71bc77076d8233a2340a14f8eefe8a6bcadcf30c (diff)
downloadvimperator-plugins-0880257f8b73f6bc308542a80ed470295492c9fd.tar.bz2
Fix:
* indent * command arguments handling git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@19677 d0d07461-0603-4401-acd4-de1884942a52
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){