mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 21:34:12 +01:00
new g0/g$ mappings
This commit is contained in:
2
Donators
2
Donators
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
2007 (most recent donators first):
|
2007 (most recent donators first):
|
||||||
|
|
||||||
|
* Cillian de Roiste (2x)
|
||||||
* David Thompson
|
* David Thompson
|
||||||
* Christian Walther
|
* Christian Walther
|
||||||
* Ivo-Jose Jimenez-Ramos
|
* Ivo-Jose Jimenez-Ramos
|
||||||
@@ -19,7 +20,6 @@
|
|||||||
* Stefan Krauth
|
* Stefan Krauth
|
||||||
* Robert Heckel
|
* Robert Heckel
|
||||||
* Miron Tewfik
|
* Miron Tewfik
|
||||||
* Cillian de Roiste
|
|
||||||
* Sjoerd Siebinga
|
* Sjoerd Siebinga
|
||||||
* Ben Klemens
|
* Ben Klemens
|
||||||
* Andrew Pantyukhin
|
* Andrew Pantyukhin
|
||||||
|
|||||||
1
NEWS
1
NEWS
@@ -9,6 +9,7 @@
|
|||||||
removed the following hint options: 'hintchars' 'maxhints'
|
removed the following hint options: 'hintchars' 'maxhints'
|
||||||
added the following hint options: 'hinttimeout'
|
added the following hint options: 'hinttimeout'
|
||||||
* IMPORTANT: changed 'I' key to Ctrl-Q to also work in textboxes
|
* 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
|
* new 'history' option for specifying the number of Ex commands and
|
||||||
search patterns to store in the commandline history
|
search patterns to store in the commandline history
|
||||||
* new ctrl-x and ctrl-a mappings to increment the last number in the URL
|
* new ctrl-x and ctrl-a mappings to increment the last number in the URL
|
||||||
|
|||||||
@@ -554,6 +554,14 @@ vimperator.Mappings = function () //{{{
|
|||||||
help: "Works like <code class=\"mapping\">P</code>, but inverts the <code class=\"option\">'activate'</code> option."
|
help: "Works like <code class=\"mapping\">P</code>, but inverts the <code class=\"option\">'activate'</code> 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", "<C-n>", "<C-Tab>", "<C-PageDown>"],
|
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["gt", "<C-n>", "<C-Tab>", "<C-PageDown>"],
|
||||||
function (count) { vimperator.tabs.select(count > 0 ? count - 1: "+1", count > 0 ? false : true); },
|
function (count) { vimperator.tabs.select(count > 0 ? count - 1: "+1", count > 0 ? false : true); },
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user