diff --git a/common/content/liberator.js b/common/content/liberator.js index df52e323..01d4c777 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -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); } diff --git a/muttator/contrib/vim/syntax/muttator.vim b/muttator/contrib/vim/syntax/muttator.vim index d591d7ae..a682ae15 100644 --- a/muttator/contrib/vim/syntax/muttator.vim +++ b/muttator/contrib/vim/syntax/muttator.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Muttator configuration file " Maintainer: Doug Kearns -" Last Change: 2009 Jul 15 +" Last Change: 2009 Jul 22 " 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] \ 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] - \ tabl[ast] tabn[ext] tabp[revious] tabr[ewind] time tn[ext] 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] + \ tabl[ast] tabn[ext] tabp[revious] tabr[ewind] tbh[ide] tbs[how] tbt[oggle] time tn[ext] toolbarh[ide] toolbars[how] + \ 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 syn match muttatorCommand "!" contained diff --git a/vimperator/contrib/vim/syntax/vimperator.vim b/vimperator/contrib/vim/syntax/vimperator.vim index 8ee19ff4..3808edb7 100644 --- a/vimperator/contrib/vim/syntax/vimperator.vim +++ b/vimperator/contrib/vim/syntax/vimperator.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: VIMperator configuration file " Maintainer: Doug Kearns -" Last Change: 2009 Jul 9 +" Last Change: 2009 Jul 22 " 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] \ 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] - \ 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] unl[et] 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] + \ tabe[dit] tabfir[st] tabl[ast] tabm[ove] tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs tbh[ide] tbs[how] + \ tbt[oggle] time tn[ext] toolbarh[ide] toolbars[how] toolbart[oggle] tp[revious] u[ndo] una[bbreviate] undoa[ll] unl[et] + \ 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 syn match vimperatorCommand "!" contained diff --git a/vimperator/locale/en-US/gui.txt b/vimperator/locale/en-US/gui.txt index 90e0f50e..dd9258b4 100644 --- a/vimperator/locale/en-US/gui.txt +++ b/vimperator/locale/en-US/gui.txt @@ -140,23 +140,24 @@ standard Firefox View->Sidebar menu. Add-ons, Preferences and Downloads are also available in the sidebar. ________________________________________________________________________________ -|:tbshow| |:toolbarshow| + +section:Toolbars[toolbar] + +|:tbs| |:tbshow| |:toolbars| |:toolbarshow| + ||:toolbarshow {name}|| ________________________________________________________________________________ Shows the named toolbar. ________________________________________________________________________________ -|:tbhide| |:toolbarhide| + +|:tbh| |:tbhide| |:toolbarh| |:toolbarhide| + ||:toolbarhide {name}|| ________________________________________________________________________________ Hides the named toolbar. ________________________________________________________________________________ -|:tbtoggle| |:toolbartoggle| + +|:tbt| |:tbtoggle| |:toolbart| |:toolbartoggle| + ||:toolbartoggle {name}|| ________________________________________________________________________________ Toggles the named toolbar. ________________________________________________________________________________ - // vim: set filetype=asciidoc: diff --git a/vimperator/locale/en-US/index.txt b/vimperator/locale/en-US/index.txt index afebb3ec..db5c810e 100644 --- a/vimperator/locale/en-US/index.txt +++ b/vimperator/locale/en-US/index.txt @@ -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]:tabrewind[c]|| Switch to the first tab + ||[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]toolbarshow[c]|| Show the named toolbar + ||[c]toolbartoggle[c]|| Toggle the named toolbar + ||[c]:unabbreviate[c]|| Remove an abbreviation + ||[c]:undo[c]|| Undo closing of a tab + diff --git a/xulmus/contrib/vim/syntax/xulmus.vim b/xulmus/contrib/vim/syntax/xulmus.vim index fdfd9cd9..e5a83e02 100644 --- a/xulmus/contrib/vim/syntax/xulmus.vim +++ b/xulmus/contrib/vim/syntax/xulmus.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Xulmus configuration file " Maintainer: Doug Kearns -" Last Change: 2009 Jul 9 +" Last Change: 2009 Jul 22 " 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] \ 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] - \ tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs time tn[ext] tp[revious] u[ndo] una[bbreviate] undoa[ll] - \ 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] - \ winc[lose] wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om] + \ tabn[ext] tabnew tabo[nly] tabopen tabp[revious] tabr[ewind] tabs tbh[ide] tbs[how] tbt[oggle] time tn[ext] toolbarh[ide] + \ toolbars[how] toolbart[oggle] tp[revious] u[ndo] una[bbreviate] undoa[ll] 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] winc[lose] wine[dit] wo[pen] wq wqa[ll] xa[ll] + \ zo[om] \ contained syn match xulmusCommand "!" contained diff --git a/xulmus/locale/en-US/gui.txt b/xulmus/locale/en-US/gui.txt index 1d9286a2..1a7b3dec 100644 --- a/xulmus/locale/en-US/gui.txt +++ b/xulmus/locale/en-US/gui.txt @@ -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". ________________________________________________________________________________ +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: diff --git a/xulmus/locale/en-US/index.txt b/xulmus/locale/en-US/index.txt index d84da1b7..465e2b3a 100644 --- a/xulmus/locale/en-US/index.txt +++ b/xulmus/locale/en-US/index.txt @@ -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]:tabrewind[c]|| Switch to the first tab + ||[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]:undo[c]|| Undo closing of a tab + ||[c]:undoall[c]|| Undo closing of all closed tabs +