mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-06 22:25:46 +01:00
Add :only.
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
know if I like copying bugs)
|
know if I like copying bugs)
|
||||||
* IMPORTANT: 'popups' now takes a stringlist rather than a number.
|
* IMPORTANT: 'popups' now takes a stringlist rather than a number.
|
||||||
|
|
||||||
|
* add [c]:only[c]
|
||||||
* add [c]:tabattach[c]
|
* add [c]:tabattach[c]
|
||||||
* add [c]:keepalt[c]
|
* add [c]:keepalt[c]
|
||||||
* add [c]:styledisable[c], [c]:styleenable[c], and [c]:styletoggle[c]
|
* add [c]:styledisable[c], [c]:styleenable[c], and [c]:styletoggle[c]
|
||||||
|
|||||||
@@ -209,6 +209,17 @@ const config = { //{{{
|
|||||||
////////////////////// COMMANDS ////////////////////////////////////////////////
|
////////////////////// COMMANDS ////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
|
commands.add(["on[ly]"],
|
||||||
|
"Close all other windows",
|
||||||
|
function ()
|
||||||
|
{
|
||||||
|
liberator.windows.forEach(function (win) {
|
||||||
|
if (win != window)
|
||||||
|
win.close();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{ argCount: "0" });
|
||||||
|
|
||||||
commands.add(["pref[erences]", "prefs"],
|
commands.add(["pref[erences]", "prefs"],
|
||||||
"Show " + config.hostApplication + " preferences",
|
"Show " + config.hostApplication + " preferences",
|
||||||
function (args)
|
function (args)
|
||||||
|
|||||||
@@ -323,6 +323,13 @@ Close window.
|
|||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
|
|:on| |:only|
|
||||||
|
||:on[ly]||
|
||||||
|
________________________________________________________________________________
|
||||||
|
Close all other windows.
|
||||||
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
|:xa| |:xall| |:wq| |:wqa| |:wqall|
|
|:xa| |:xall| |:wq| |:wqa| |:wqall|
|
||||||
||:wqa[ll]|| +
|
||:wqa[ll]|| +
|
||||||
||:xa[ll]||
|
||:xa[ll]||
|
||||||
|
|||||||
@@ -221,6 +221,7 @@ section::Ex{nbsp}commands[ex-cmd-index,:index]
|
|||||||
||[c]:nohlsearch[c]|| Remove the search highlighting +
|
||[c]:nohlsearch[c]|| Remove the search highlighting +
|
||||||
||[c]:noremap[c]|| Map a key sequence without remapping keys +
|
||[c]:noremap[c]|| Map a key sequence without remapping keys +
|
||||||
||[c]:normal[c]|| Execute Normal mode commands +
|
||[c]:normal[c]|| Execute Normal mode commands +
|
||||||
|
||[c]:only[c]|| Close all other windows +
|
||||||
||[c]:open[c]|| Open one or more URLs in the current tab +
|
||[c]:open[c]|| Open one or more URLs in the current tab +
|
||||||
||[c]:optionusage[c]|| List all options with a short description +
|
||[c]:optionusage[c]|| List all options with a short description +
|
||||||
||[c]:pageinfo[c]|| Show various page information +
|
||[c]:pageinfo[c]|| Show various page information +
|
||||||
|
|||||||
Reference in New Issue
Block a user