diff --git a/Donators b/Donators index 3d5e9d42..69702481 100644 --- a/Donators +++ b/Donators @@ -3,6 +3,7 @@ 2007 (most recent donators first): +* Cillian de Roiste (2x) * David Thompson * Christian Walther * Ivo-Jose Jimenez-Ramos @@ -19,7 +20,6 @@ * Stefan Krauth * Robert Heckel * Miron Tewfik -* Cillian de Roiste * Sjoerd Siebinga * Ben Klemens * Andrew Pantyukhin diff --git a/NEWS b/NEWS index 96a25196..04f6a64e 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ removed the following hint options: 'hintchars' 'maxhints' added the following hint options: 'hinttimeout' * IMPORTANT: changed 'I' key to Ctrl-Q to also work in textboxes + * new g0 and g$ mappings to go to the first/last tab * new 'history' option for specifying the number of Ex commands and search patterns to store in the commandline history * new ctrl-x and ctrl-a mappings to increment the last number in the URL diff --git a/content/mappings.js b/content/mappings.js index 53dbe0c7..3240fe8a 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -554,6 +554,14 @@ vimperator.Mappings = function () //{{{ help: "Works like P, but inverts the 'activate' option." } )); + addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["g0", "g^"], + function (count) { vimperator.tabs.select(0); }, + { shortHelp: "Go to the first tab" } + )); + addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["g$"], + function (count) { vimperator.tabs.select("$"); }, + { shortHelp: "Go to the last tab" } + )); addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["gt", "", "", ""], function (count) { vimperator.tabs.select(count > 0 ? count - 1: "+1", count > 0 ? false : true); }, {