1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:47:57 +01:00

Add :toolbar* commands to Vim RC file highlighters.

This commit is contained in:
Doug Kearns
2009-07-23 00:30:24 +10:00
parent 842dd61f4c
commit 8db6944017
8 changed files with 46 additions and 19 deletions

View File

@@ -675,13 +675,13 @@ const liberator = (function () //{{{
});
}
tbcmd(["toolbarshow", "tbshow"], "Show the named toolbar",
tbcmd(["toolbars[how]", "tbs[how]"], "Show the named toolbar",
function (toolbar) toolbar.collapsed = false,
function (item) item.item.collapsed);
tbcmd(["toolbarhide", "tbhide"], "Hide the named toolbar",
tbcmd(["toolbarh[ide]", "tbh[ide]"], "Hide the named toolbar",
function (toolbar) toolbar.collapsed = true,
function (item) !item.item.collapsed);
tbcmd(["toolbartoggle", "tbtoggle"], "Toggle the named toolbar",
tbcmd(["toolbart[oggle]", "tbt[oggle]"], "Toggle the named toolbar",
function (toolbar) toolbar.collapsed = !toolbar.collapsed);
}