From a6f141722066029caa187d0f6663b0835f0fdfdf Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 12 Jun 2011 14:11:23 +1000 Subject: [PATCH] Add map aliases. --- common/content/buffer.js | 4 ++-- common/locale/en-US/buffer.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index 0bd9e7e2..e073e317 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1662,12 +1662,12 @@ var Buffer = Module("buffer", { "Scroll to the absolute right of the document", function () { buffer.scrollToPercent(100, null); }); - mappings.add([modes.COMMAND], ["gg", ""], + mappings.add([modes.COMMAND], ["gg", "", ""], "Go to the top of the document", function (args) { buffer.scrollToPercent(null, args.count != null ? args.count : 0); }, { count: true }); - mappings.add([modes.COMMAND], ["G", ""], + mappings.add([modes.COMMAND], ["G", "", ""], "Go to the end of the document", function (args) { buffer.scrollToPercent(null, args.count != null ? args.count : 100); }, { count: true }); diff --git a/common/locale/en-US/buffer.xml b/common/locale/en-US/buffer.xml index 66d0d978..d6725bd1 100644 --- a/common/locale/en-US/buffer.xml +++ b/common/locale/en-US/buffer.xml @@ -115,7 +115,7 @@ - gg]]> + gg]]> countgg @@ -128,7 +128,7 @@ - G]]> + G]]> countG