From 78aad7c83b75ca36f8747de0a4c1944aede16cf8 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 3 Jul 2007 06:49:09 +0000 Subject: [PATCH] update old references to g_inputbuffer and g_count to vimperator.input.buffer and vimperator.input.count respectively --- chrome/content/vimperator/mappings.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index 49037456..e4f3d0f6 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -736,7 +736,7 @@ var g_hint_mappings = [ //{{{ ["s", "vimperator.echoerr('Saving of links not yet implemented');", true, false], ["y", "vimperator.hints.yankUrlHints();", true, false], ["Y", "vimperator.hints.yankTextHints();", true, false], - [",", "g_inputbuffer+=','; vimperator.hints.setCurrentState(0);", false, true], + [",", "vimperator.input.buffer+=','; vimperator.hints.setCurrentState(0);", false, true], [":", "vimperator.commandline.open(':', '', vimperator.modes.EX);", false, true], /* movement keys */ ["", "scrollBufferRelative(0, 1);", false, true], @@ -755,11 +755,11 @@ var g_hint_mappings = [ //{{{ ["", "vimperator.tabs.select('+1', true)", true, true], // same as gt, but no count supported ["", "vimperator.tabs.select('-1', true)", true, true], /* navigation */ - ["", "vimperator.history.stepTo(g_count > 0 ? -1 * g_count : -1);", false, true], - ["", "vimperator.history.stepTo(g_count > 0 ? g_count : 1);", false, true], - ["", "vimperator.history.stepTo(g_count > 0 ? -1 * g_count : -1);", false, true], - ["", "vimperator.history.stepTo(g_count > 0 ? g_count : 1);", false, true], - ["", "vimperator.tabs.remove(getBrowser().mCurrentTab, g_count, false, 0);", true, true], + ["", "vimperator.history.stepTo(vimperator.input.count > 0 ? -1 * vimperator.input.count : -1);", false, true], + ["", "vimperator.history.stepTo(vimperator.input.count > 0 ? vimperator.input.count : 1);", false, true], + ["", "vimperator.history.stepTo(vimperator.input.count > 0 ? -1 * vimperator.input.count : -1);", false, true], + ["", "vimperator.history.stepTo(vimperator.input.count > 0 ? vimperator.input.count : 1);", false, true], + ["", "vimperator.tabs.remove(getBrowser().mCurrentTab, vimperator.input.count, false, 0);", true, true], /* cancel hint mode keys */ ["", "", true, true], ["", "", true, true],