mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 14:15:47 +01:00
move the global copyToClipboard() to a slot in vimperator
This commit is contained in:
@@ -539,7 +539,7 @@ function Mappings() //{{{
|
||||
function()
|
||||
{
|
||||
var loc = getCurrentLocation();
|
||||
copyToClipboard(loc);
|
||||
vimperator.copyToClipboard(loc);
|
||||
vimperator.echo("Yanked " + loc);
|
||||
},
|
||||
{
|
||||
@@ -551,7 +551,7 @@ function Mappings() //{{{
|
||||
function()
|
||||
{
|
||||
var sel = window.content.document.getSelection();
|
||||
copyToClipboard(sel);
|
||||
vimperator.copyToClipboard(sel);
|
||||
vimperator.echo("Yanked " + sel);
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user