1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:27:58 +01:00

use vimperator.buffer.location rather than replaced getCurrentLocation() for

"y" mapping
This commit is contained in:
Doug Kearns
2007-08-09 15:32:47 +00:00
parent 42fa8f1fcc
commit d024134fbe

View File

@@ -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);
},