diff --git a/vimperator/NEWS b/vimperator/NEWS index ccda9cde..851be046 100644 --- a/vimperator/NEWS +++ b/vimperator/NEWS @@ -2,6 +2,8 @@ * version 2.1 (probably) * add :silent * add $MY_VIMPERATORRC + * add ' and " local marks + * add "w" and "W" Normal mode mappings for symmetry with o/O and t/T 2008-XX-XX: * version 2.0 (probably) diff --git a/vimperator/content/config.js b/vimperator/content/config.js index 1a37841a..0e8aa67c 100644 --- a/vimperator/content/config.js +++ b/vimperator/content/config.js @@ -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], [""], "Increment last number in URL", function (count) { incrementURL(count > 1 ? count : 1); }, diff --git a/vimperator/locale/en-US/browsing.txt b/vimperator/locale/en-US/browsing.txt index 9b44fa8a..b8cd0b45 100644 --- a/vimperator/locale/en-US/browsing.txt +++ b/vimperator/locale/en-US/browsing.txt @@ -102,11 +102,20 @@ ________________________________________________________________________________ |:winopen| |:wopen| |:winedit| ||:wino[pen][!] [a][arg1][a], [a][arg2][a], ...|| + +||w|| ________________________________________________________________________________ Just like [c]:tabopen[c] but opens the resulting web page(s) in a new window. ________________________________________________________________________________ +|W| + +||W|| +________________________________________________________________________________ +Open one or more URLs in a new window based on current location. Works like +[m]w[m] but preselects current URL in the [c]:winopen[c] query. +________________________________________________________________________________ + + || |p| + ||p|| ________________________________________________________________________________