diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index e4f3d0f6..ae8d1904 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -559,7 +559,7 @@ function Mappings() //{{{ /* history manipulation and jumplist */ addDefaultMap(new Map(vimperator.modes.NORMAL, [""], - function(count) { stepInHistory(count > 0 ? -1 * count : -1); }, + function(count) { vimperator.history.stepTo(count > 0 ? -1 * count : -1); }, { short_help: "Go to an older position in the jump list", help: "The jump list is just the browser history for now.", @@ -567,7 +567,7 @@ function Mappings() //{{{ } )); addDefaultMap(new Map(vimperator.modes.NORMAL, [""], - function(count) { stepInHistory(count > 0 ? count : 1); }, + function(count) { vimperator.history.stepTo(count > 0 ? count : 1); }, { short_help: "Go to a newer position in the jump list", help: "The jump list is just the browser history for now.", @@ -575,7 +575,7 @@ function Mappings() //{{{ } )); addDefaultMap(new Map(vimperator.modes.NORMAL, ["H", "", ""], - function(count) { stepInHistory(count > 0 ? -1 * count : -1); }, + function(count) { vimperator.history.stepTo(count > 0 ? -1 * count : -1); }, { short_help: "Go back in the browser history", help: "Count is supported, 3H goes back 3 steps.", @@ -583,7 +583,7 @@ function Mappings() //{{{ } )); addDefaultMap(new Map(vimperator.modes.NORMAL, ["L", "", ""], - function(count) { stepInHistory(count > 0 ? count : 1); }, + function(count) { vimperator.history.stepTo(count > 0 ? count : 1); }, { short_help: "Go forward in the browser history", help: "Count is supported, 3L goes forward 3 steps.",