1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 12:52:27 +01:00

Add "w" and "W" Normal mode mappings.

These work just like o/O and t/T but for new windows.
This commit is contained in:
Doug Kearns
2009-02-28 22:17:59 +11:00
parent 6b34e50579
commit 62bc7fb9b5
3 changed files with 19 additions and 0 deletions

View File

@@ -210,6 +210,14 @@ const config = { //{{{
"Open one or more URLs in a new tab, based on current location",
function () { commandline.open(":", "tabopen " + buffer.URL, modes.EX); });
mappings.add([modes.NORMAL], ["w"],
"Open one or more URLs in a new window",
function () { commandline.open(":", "winopen ", modes.EX); });
mappings.add([modes.NORMAL], ["W"],
"Open one or more URLs in a new window, based on current location",
function () { commandline.open(":", "winopen " + buffer.URL, modes.EX); });
mappings.add([modes.NORMAL],
["<C-a>"], "Increment last number in URL",
function (count) { incrementURL(count > 1 ? count : 1); },