mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 06:08:02 +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"],
|
||||
function()
|
||||
{
|
||||
var loc = getCurrentLocation();
|
||||
var loc = vimperator.buffer.location;
|
||||
vimperator.copyToClipboard(loc);
|
||||
vimperator.echo("Yanked " + loc);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user