diff options
-rw-r--r-- | common/content/liberator.js | 24 | ||||
-rw-r--r-- | muttator/contrib/vim/syntax/muttator.vim | 6 | ||||
-rw-r--r-- | vimperator/NEWS | 1 | ||||
-rw-r--r-- | vimperator/contrib/vim/syntax/vimperator.vim | 6 | ||||
-rw-r--r-- | vimperator/locale/en-US/index.txt | 1 | ||||
-rw-r--r-- | vimperator/locale/en-US/various.txt | 9 | ||||
-rw-r--r-- | xulmus/contrib/vim/syntax/xulmus.vim | 6 | ||||
-rw-r--r-- | xulmus/locale/en-US/index.txt | 1 | ||||
-rw-r--r-- | xulmus/locale/en-US/various.txt | 8 |
9 files changed, 53 insertions, 9 deletions
diff --git a/common/content/liberator.js b/common/content/liberator.js index 2a4007bb..c7ebadc9 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -794,6 +794,30 @@ const liberator = (function () //{{{ literal: 0 }); + commands.add(["verb[ose]"], + "Execute a command with 'verbose' set", + function (args) + { + let vbs = options.get("verbose"); + let value = vbs.value; + + try + { + vbs.set(args.count > -1 ? args.count : 1); + liberator.execute(args[0], null, true); + } + finally + { + vbs.set(value); + } + }, + { + argCount: "+", + completer: function (context) completion.ex(context), + count: true, + literal: 0 + }); + commands.add(["ve[rsion]"], "Show version information", function (args) diff --git a/muttator/contrib/vim/syntax/muttator.vim b/muttator/contrib/vim/syntax/muttator.vim index e17d536a..533ada2d 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 <dougkearns@gmail.com> -" Last Change: 2009 Aug 3 +" Last Change: 2009 Aug 23 " TODO: make this muttator specific - shared liberator config? @@ -31,8 +31,8 @@ syn keyword muttatorCommand ab[breviate] ab[clear] addo[ns] addr[essbook] bN[ext \ 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] 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] + \ toolbart[oggle] tp[revious] una[bbreviate] unl[et] unm[ap] verb[ose] 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/NEWS b/vimperator/NEWS index 19285553..1cbaa6a0 100644 --- a/vimperator/NEWS +++ b/vimperator/NEWS @@ -19,6 +19,7 @@ (this might change again, as this is REALLY inconsistent, and i don't know if I like copying bugs) + * add [c]:verbose[c] * add [c]:window[c] to run a command in a new window * add ! version of :delbmarks to delete all bookmarks. * new "t" option for 'complete' to also switch to open tabs with :open diff --git a/vimperator/contrib/vim/syntax/vimperator.vim b/vimperator/contrib/vim/syntax/vimperator.vim index e418707d..feea52d9 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 <dougkearns@gmail.com> -" Last Change: 2009 Aug 10 +" Last Change: 2009 Aug 23 " TODO: make this vimperator specific - shared liberator config? @@ -33,8 +33,8 @@ syn keyword vimperatorCommand ab[breviate] ab[clear] addo[ns] bN[ext] b[uffer] b \ 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 \ 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] wind[ow] wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om] + \ undoa[ll] unl[et] unm[ap] verb[ose] ve[rsion] vie[wsource] viu[sage] vm[ap] vmap[clear] vno[remap] vu[nmap] w[rite] wc[lose] + \ win[open] winc[lose] wind[ow] wine[dit] wo[pen] wq wqa[ll] xa[ll] zo[om] \ contained syn match vimperatorCommand "!" contained diff --git a/vimperator/locale/en-US/index.txt b/vimperator/locale/en-US/index.txt index 7ce9cb55..c5849a88 100644 --- a/vimperator/locale/en-US/index.txt +++ b/vimperator/locale/en-US/index.txt @@ -268,6 +268,7 @@ section::Ex{nbsp}commands[ex-cmd-index,:index] ||[c]:undoall[c]|| Undo closing of all closed tabs + ||[c]:unlet[c]|| Delete a variable + ||[c]:unmap[c]|| Remove a mapping + +||[c]:verbose[c]|| Execute a command with 'verbose' set + ||[c]:version[c]|| Show version information + ||[c]:viewsource[c]|| View source code of current document + ||[c]:viusage[c]|| List all mappings with a short description + diff --git a/vimperator/locale/en-US/various.txt b/vimperator/locale/en-US/various.txt index 71dbeba2..4ecaa92f 100644 --- a/vimperator/locale/en-US/various.txt +++ b/vimperator/locale/en-US/various.txt @@ -15,6 +15,7 @@ ________________________________________________________________________________ Redraws the screen. Useful to update the screen halfway executing a script or function. ________________________________________________________________________________ + |:norm| |:normal| ||:norm[al][!] {commands}|| + ________________________________________________________________________________ @@ -55,6 +56,14 @@ history. ________________________________________________________________________________ +|:verb| |:verbose + +||:[count]verb[ose] {command}|| +________________________________________________________________________________ +Execute a command with 'verbose' set to [count]. If [count] is not specified +then 1 is used as the value. +________________________________________________________________________________ + + |:ve| |:version| + ||:ve[rsion][!]|| ________________________________________________________________________________ diff --git a/xulmus/contrib/vim/syntax/xulmus.vim b/xulmus/contrib/vim/syntax/xulmus.vim index 445e0b24..3e9a6f39 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 <dougkearns@gmail.com> -" Last Change: 2009 Aug 3 +" Last Change: 2009 Aug 23 " TODO: make this xulmus specific - shared liberator config? @@ -35,8 +35,8 @@ syn keyword xulmusCommand ab[breviate] ab[clear] addo[ns] bN[ext] b[uffer] ba[ck \ 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 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] + \ unm[ap] verb[ose] 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/index.txt b/xulmus/locale/en-US/index.txt index 5daf8f8c..3a929f5e 100644 --- a/xulmus/locale/en-US/index.txt +++ b/xulmus/locale/en-US/index.txt @@ -314,6 +314,7 @@ section::Ex{nbsp}commands[ex-cmd-index,:index] ||[c]:undoall[c]|| Undo closing of all closed tabs + ||[c]:unlet[c]|| Delete a variable + ||[c]:unmap[c]|| Remove a mapping + +||[c]:verbose[c]|| Execute a command with 'verbose' set + ||[c]:version[c]|| Show version information + ||[c]:viewsource[c]|| View source code of current document + ||[c]:viusage[c]|| List all mappings with a short description + diff --git a/xulmus/locale/en-US/various.txt b/xulmus/locale/en-US/various.txt index e5197512..95d34861 100644 --- a/xulmus/locale/en-US/various.txt +++ b/xulmus/locale/en-US/various.txt @@ -55,6 +55,14 @@ history. ________________________________________________________________________________ +|:verb| |:verbose + +||:[count]verb[ose] {command}|| +________________________________________________________________________________ +Execute a command with 'verbose' set to [count]. If [count] is not specified +then 1 is used as the value. +________________________________________________________________________________ + + |:ve| |:version| + ||:ve[rsion][!]|| ________________________________________________________________________________ |