mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 22:24:12 +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:
@@ -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)
|
||||
|
||||
@@ -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); },
|
||||
|
||||
@@ -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.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|<MiddleMouse>| |p| +
|
||||
||p||
|
||||
________________________________________________________________________________
|
||||
|
||||
Reference in New Issue
Block a user