diff options
| author | Bernardo B. Marques | 2011-12-16 01:44:42 -0200 |
|---|---|---|
| committer | Bernardo B. Marques | 2011-12-16 01:44:42 -0200 |
| commit | ca6f303b3d39f0e7bdeae6d239f124baefc4571b (patch) | |
| tree | 65ca80899c2c7cffaff446877c11f1afe67c3a4d /commands.js | |
| parent | 6f9fd590561b26b01b6e2d3bac8617056af9d9be (diff) | |
| download | vimium-ca6f303b3d39f0e7bdeae6d239f124baefc4571b.tar.bz2 | |
add support to go to the first or last tab
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands.js b/commands.js index f36c57b3..d214d2bf 100644 --- a/commands.js +++ b/commands.js @@ -131,6 +131,8 @@ function clearKeyMappingsAndSetDefaults() { "J": "previousTab", "gt": "nextTab", "gT": "previousTab", + "g0": "firstTab", + "g$": "lastTab", "t": "createTab", "x": "removeTab", @@ -195,6 +197,8 @@ var commandDescriptions = { // Manipulating tabs nextTab: ["Go one tab right", { background: true }], previousTab: ["Go one tab left", { background: true }], + firstTab: ["Go to the first tab", { background: true }], + lastTab: ["Go to the last tab", { background: true }], createTab: ["Create new tab", { background: true }], removeTab: ["Close current tab", { background: true }], restoreTab: ["Restore closed tab", { background: true }], @@ -225,7 +229,7 @@ var commandGroups = { historyNavigation: ["goBack", "goForward"], tabManipulation: - ["nextTab", "previousTab", "createTab", "removeTab", "restoreTab"], + ["nextTab", "previousTab", "firstTab", "lastTab", "createTab", "removeTab", "restoreTab"], misc: ["showHelp"] }; |
