mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:17:58 +01:00
use vimperator.buffer.location rather than replaced getCurrentLocation() for
"y" mapping
This commit is contained in:
@@ -538,7 +538,7 @@ function Mappings() //{{{
|
|||||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["y"],
|
addDefaultMap(new Map(vimperator.modes.NORMAL, ["y"],
|
||||||
function()
|
function()
|
||||||
{
|
{
|
||||||
var loc = getCurrentLocation();
|
var loc = vimperator.buffer.location;
|
||||||
vimperator.copyToClipboard(loc);
|
vimperator.copyToClipboard(loc);
|
||||||
vimperator.echo("Yanked " + loc);
|
vimperator.echo("Yanked " + loc);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user