diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index fcf8d287..b6e86e2e 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -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); },