mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 03:57:59 +01:00
Add :toolbar* commands to Vim RC file highlighters.
This commit is contained in:
@@ -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 (toolbar) toolbar.collapsed = false,
|
||||||
function (item) item.item.collapsed);
|
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 (toolbar) toolbar.collapsed = true,
|
||||||
function (item) !item.item.collapsed);
|
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);
|
function (toolbar) toolbar.collapsed = !toolbar.collapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Muttator configuration file
|
" Language: Muttator configuration file
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2009 Jul 15
|
" Last Change: 2009 Jul 22
|
||||||
|
|
||||||
" TODO: make this muttator specific - shared liberator config?
|
" TODO: make this muttator specific - shared liberator config?
|
||||||
|
|
||||||
@@ -30,8 +30,9 @@ syn keyword muttatorCommand ab[breviate] ab[clear] addo[ns] addr[essbook] bN[ext
|
|||||||
\ mno[remap] move[to] mu[nmap] nm[ap] nmapc[lear] nno[remap] no[remap] norm[al] nu[nmap] optionu[sage] pa[geinfo] pagest[yle]
|
\ mno[remap] move[to] mu[nmap] nm[ap] nmapc[lear] nno[remap] no[remap] norm[al] nu[nmap] optionu[sage] pa[geinfo] pagest[yle]
|
||||||
\ pas pc[lose] pl[ay] pref[erences] prefs pw[d] q[uit] re[load] res[tart] run runt[ime] sav[eas] scrip[tnames] se[t]
|
\ pas pc[lose] pl[ay] pref[erences] prefs pw[d] q[uit] re[load] res[tart] run runt[ime] sav[eas] scrip[tnames] se[t]
|
||||||
\ setg[lobal] setl[ocal] sil[ent] so[urce] st[op] sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabfir[st]
|
\ setg[lobal] setl[ocal] sil[ent] so[urce] st[op] sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabfir[st]
|
||||||
\ tabl[ast] tabn[ext] tabp[revious] tabr[ewind] time tn[ext] tp[revious] una[bbreviate] unl[et] unm[ap] ve[rsion] vie[wsource]
|
\ tabl[ast] tabn[ext] tabp[revious] tabr[ewind] tbh[ide] tbs[how] tbt[oggle] time tn[ext] toolbarh[ide] toolbars[how]
|
||||||
\ viu[sage] vm[ap] vmapc[lear] vno[remap] vu[nmap] w[rite] zo[om]
|
\ toolbart[oggle] tp[revious] una[bbreviate] unl[et] unm[ap] ve[rsion] vie[wsource] viu[sage] vm[ap] vmapc[lear] vno[remap]
|
||||||
|
\ vu[nmap] w[rite] zo[om]
|
||||||
\ contained
|
\ contained
|
||||||
|
|
||||||
syn match muttatorCommand "!" contained
|
syn match muttatorCommand "!" contained
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: VIMperator configuration file
|
" Language: VIMperator configuration file
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2009 Jul 9
|
" Last Change: 2009 Jul 22
|
||||||
|
|
||||||
" TODO: make this vimperator specific - shared liberator config?
|
" TODO: make this vimperator specific - shared liberator config?
|
||||||
|
|
||||||
@@ -31,9 +31,10 @@ syn keyword vimperatorCommand ab[breviate] ab[clear] addo[ns] bN[ext] b[uffer] b
|
|||||||
\ pagest[yle] pas pc[lose] pl[ay] pref[erences] prefs pw[d] q[uit] qa[ll] qma[rk] qmarks quita[ll] re[draw] re[load]
|
\ pagest[yle] pas pc[lose] pl[ay] pref[erences] prefs pw[d] q[uit] qa[ll] qma[rk] qmarks quita[ll] re[draw] re[load]
|
||||||
\ reloada[ll] res[tart] run runt[ime] sav[eas] sb[ar] sb[open] sbcl[ose] scrip[tnames] se[t] setg[lobal] setl[ocal] sideb[ar]
|
\ reloada[ll] res[tart] run runt[ime] sav[eas] sb[ar] sb[open] sbcl[ose] scrip[tnames] se[t] setg[lobal] setl[ocal] sideb[ar]
|
||||||
\ sil[ent] so[urce] st[op] stopa[ll] sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabde[tach] tabdu[plicate]
|
\ sil[ent] so[urce] st[op] stopa[ll] sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabde[tach] tabdu[plicate]
|
||||||
\ tabe[dit] tabfir[st] tabl[ast] tabm[ove] tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs time tn[ext]
|
\ tabe[dit] tabfir[st] tabl[ast] tabm[ove] tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs tbh[ide] tbs[how]
|
||||||
\ tp[revious] u[ndo] una[bbreviate] undoa[ll] unl[et] unm[ap] ve[rsion] vie[wsource] viu[sage] vm[ap] vmap[clear] vno[remap]
|
\ tbt[oggle] time tn[ext] toolbarh[ide] toolbars[how] toolbart[oggle] tp[revious] u[ndo] una[bbreviate] undoa[ll] unl[et]
|
||||||
\ vu[nmap] w[rite] wc[lose] win[open] winc[lose] wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om]
|
\ unm[ap] ve[rsion] vie[wsource] viu[sage] vm[ap] vmap[clear] vno[remap] vu[nmap] w[rite] wc[lose] win[open] winc[lose]
|
||||||
|
\ wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om]
|
||||||
\ contained
|
\ contained
|
||||||
|
|
||||||
syn match vimperatorCommand "!" contained
|
syn match vimperatorCommand "!" contained
|
||||||
|
|||||||
@@ -140,23 +140,24 @@ standard Firefox View->Sidebar menu. Add-ons, Preferences and Downloads are
|
|||||||
also available in the sidebar.
|
also available in the sidebar.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|:tbshow| |:toolbarshow| +
|
section:Toolbars[toolbar]
|
||||||
|
|
||||||
|
|:tbs| |:tbshow| |:toolbars| |:toolbarshow| +
|
||||||
||:toolbarshow {name}||
|
||:toolbarshow {name}||
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
Shows the named toolbar.
|
Shows the named toolbar.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|:tbhide| |:toolbarhide| +
|
|:tbh| |:tbhide| |:toolbarh| |:toolbarhide| +
|
||||||
||:toolbarhide {name}||
|
||:toolbarhide {name}||
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
Hides the named toolbar.
|
Hides the named toolbar.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|:tbtoggle| |:toolbartoggle| +
|
|:tbt| |:tbtoggle| |:toolbart| |:toolbartoggle| +
|
||||||
||:toolbartoggle {name}||
|
||:toolbartoggle {name}||
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
Toggles the named toolbar.
|
Toggles the named toolbar.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|
||||||
// vim: set filetype=asciidoc:
|
// vim: set filetype=asciidoc:
|
||||||
|
|||||||
@@ -258,8 +258,8 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
|
|||||||
||[c]:tabprevious[c]|| Switch to the previous tab or go [count] tabs back +
|
||[c]:tabprevious[c]|| Switch to the previous tab or go [count] tabs back +
|
||||||
||[c]:tabrewind[c]|| Switch to the first tab +
|
||[c]:tabrewind[c]|| Switch to the first tab +
|
||||||
||[c]:time[c]|| Profile a piece of code or run a command multiple times +
|
||[c]:time[c]|| Profile a piece of code or run a command multiple times +
|
||||||
||[c]toolbarshow[c]|| Show the named toolbar +
|
|
||||||
||[c]toolbarhide[c]|| Hide the named toolbar +
|
||[c]toolbarhide[c]|| Hide the named toolbar +
|
||||||
|
||[c]toolbarshow[c]|| Show the named toolbar +
|
||||||
||[c]toolbartoggle[c]|| Toggle the named toolbar +
|
||[c]toolbartoggle[c]|| Toggle the named toolbar +
|
||||||
||[c]:unabbreviate[c]|| Remove an abbreviation +
|
||[c]:unabbreviate[c]|| Remove an abbreviation +
|
||||||
||[c]:undo[c]|| Undo closing of a tab +
|
||[c]:undo[c]|| Undo closing of a tab +
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Xulmus configuration file
|
" Language: Xulmus configuration file
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2009 Jul 9
|
" Last Change: 2009 Jul 22
|
||||||
|
|
||||||
" TODO: make this xulmus specific - shared liberator config?
|
" TODO: make this xulmus specific - shared liberator config?
|
||||||
|
|
||||||
@@ -33,9 +33,10 @@ syn keyword xulmusCommand ab[breviate] ab[clear] addo[ns] bN[ext] b[uffer] ba[ck
|
|||||||
\ pw[d] q[uit] qa[ll] qma[rk] qmarks queue quita[ll] re[draw] re[load] reloada[ll] res[tart] run runt[ime] sav[eas] sb[ar]
|
\ pw[d] q[uit] qa[ll] qma[rk] qmarks queue quita[ll] re[draw] re[load] reloada[ll] res[tart] run runt[ime] sav[eas] sb[ar]
|
||||||
\ sb[open] sbcl[ose] scrip[tnames] se[t] see[k] setg[lobal] setl[ocal] sideb[ar] sil[ent] sort[view] so[urce] st[op] stopa[ll]
|
\ sb[open] sbcl[ose] scrip[tnames] se[t] see[k] setg[lobal] setl[ocal] sideb[ar] sil[ent] sort[view] so[urce] st[op] stopa[ll]
|
||||||
\ sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabde[tach] tabdu[plicate] tabe[dit] tabfir[st] tabl[ast] tabm[ove]
|
\ sty[le] tN[ext] t[open] tab tabN[ext] tabc[lose] tabd[o] tabde[tach] tabdu[plicate] tabe[dit] tabfir[st] tabl[ast] tabm[ove]
|
||||||
\ tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs time tn[ext] tp[revious] u[ndo] una[bbreviate] undoa[ll]
|
\ tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs tbh[ide] tbs[how] tbt[oggle] time tn[ext] toolbarh[ide]
|
||||||
\ unl[et] unm[ap] ve[rsion] vie[wsource] viu[sage] vm[ap] vmap[clear] vno[remap] vol[ume] vu[nmap] w[rite] wc[lose] win[open]
|
\ toolbars[how] toolbart[oggle] tp[revious] u[ndo] una[bbreviate] undoa[ll] unl[et] unm[ap] ve[rsion] vie[wsource] viu[sage]
|
||||||
\ winc[lose] wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om]
|
\ vm[ap] vmap[clear] vno[remap] vol[ume] vu[nmap] w[rite] wc[lose] win[open] winc[lose] wine[dit] wo[pen] wq wqa[ll] xa[ll]
|
||||||
|
\ zo[om]
|
||||||
\ contained
|
\ contained
|
||||||
|
|
||||||
syn match xulmusCommand "!" contained
|
syn match xulmusCommand "!" contained
|
||||||
|
|||||||
@@ -135,4 +135,24 @@ Open the specified display pane. {pane} is any of "service pane left", "service
|
|||||||
pane bottom", "content pane bottom" or "right sidebar".
|
pane bottom", "content pane bottom" or "right sidebar".
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
section:Toolbars[toolbar]
|
||||||
|
|
||||||
|
|:tbs| |:tbshow| |:toolbars| |:toolbarshow| +
|
||||||
|
||:toolbarshow {name}||
|
||||||
|
________________________________________________________________________________
|
||||||
|
Shows the named toolbar.
|
||||||
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|:tbh| |:tbhide| |:toolbarh| |:toolbarhide| +
|
||||||
|
||:toolbarhide {name}||
|
||||||
|
________________________________________________________________________________
|
||||||
|
Hides the named toolbar.
|
||||||
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
|:tbt| |:tbtoggle| |:toolbart| |:toolbartoggle| +
|
||||||
|
||:toolbartoggle {name}||
|
||||||
|
________________________________________________________________________________
|
||||||
|
Toggles the named toolbar.
|
||||||
|
________________________________________________________________________________
|
||||||
|
|
||||||
// vim: set filetype=asciidoc:
|
// vim: set filetype=asciidoc:
|
||||||
|
|||||||
@@ -304,6 +304,9 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
|
|||||||
||[c]:tabprevious[c]|| Switch to the previous tab or go [count] tabs back +
|
||[c]:tabprevious[c]|| Switch to the previous tab or go [count] tabs back +
|
||||||
||[c]:tabrewind[c]|| Switch to the first tab +
|
||[c]:tabrewind[c]|| Switch to the first tab +
|
||||||
||[c]:time[c]|| Profile a piece of code or run a command multiple times +
|
||[c]:time[c]|| Profile a piece of code or run a command multiple times +
|
||||||
|
||[c]toolbarhide[c]|| Hide the named toolbar +
|
||||||
|
||[c]toolbarshow[c]|| Show the named toolbar +
|
||||||
|
||[c]toolbartoggle[c]|| Toggle the named toolbar +
|
||||||
||[c]:unabbreviate[c]|| Remove an abbreviation +
|
||[c]:unabbreviate[c]|| Remove an abbreviation +
|
||||||
||[c]:undo[c]|| Undo closing of a tab +
|
||[c]:undo[c]|| Undo closing of a tab +
|
||||||
||[c]:undoall[c]|| Undo closing of all closed tabs +
|
||[c]:undoall[c]|| Undo closing of all closed tabs +
|
||||||
|
|||||||
Reference in New Issue
Block a user