mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-27 17:15:46 +01:00
Add some rudimentary extension related commands.
Adds :extadd, :extdelete, :extdisable, :extenable, :extensions.
This commit is contained in:
@@ -12,7 +12,10 @@
|
||||
mappings.add(...,
|
||||
{ arg: true, count: true, motion: true, route: true });
|
||||
* IMPORTANT: shifted key notation now matches Vim's behaviour. E.g. <C-a>
|
||||
and <C-A> are equivalent, to map the uppercase character use <C-S-A>. - Is this still true, or going to be true? --djk
|
||||
and <C-A> are equivalent, to map the uppercase character use <C-S-A>.
|
||||
|
||||
* add extension related commands - :extadd, :extdelete, :extdisable,
|
||||
:extenable, :extensions
|
||||
* add '-javascript' flag to :autocommand
|
||||
* add 'private' - enter private browsing mode, matching 'PrivateMode'
|
||||
autocommand
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: VIMperator configuration file
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2009 Jul 1
|
||||
" Last Change: 2009 Jul 6
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -22,15 +22,16 @@ syn keyword vimperatorCommand ab[breviate] ab[clear] addo[ns] bN[ext] b[uffer] b
|
||||
\ bmarks bn[ext] bp[revious] br[ewind] bufd[o] buffers bun[load] bw[ipeout] ca[bbrev] cabc[lear] cd chd[ir] cm[ap] cmapc[lear]
|
||||
\ cno[remap] colo[rscheme] com[mand] comc[lear] cu[nmap] cuna[bbrev] delbm[arks] delc[ommand] delm[arks] delmac[ros]
|
||||
\ delqm[arks] dels[tyle] dia[log] dl do[autocmd] doautoa[ll] downl[oads] e[dit] ec[ho] echoe[rr] echom[sg] em[enu] exe[cute]
|
||||
\ exu[sage] files fini[sh] fo[rward] frameo[nly] fw h[elp] ha[rdcopy] hi[ghlight] hist[ory] hs ia[bbrev] iabc[lear] im[ap]
|
||||
\ imapc[lear] ino[remap] iu[nmap] iuna[bbrev] javas[cript] js ju[mps] let loadplugins lpl ls ma[rk] macros map mapc[lear]
|
||||
\ marks mes[sages] mkv[imperatorrc] nm[ap] nmapc[lear] nno[remap] no[remap] noh[lsearch] norm[al] nu[nmap] o[pen]
|
||||
\ optionu[sage] messc[lear] pa[geinfo] 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]
|
||||
\ tabdu[plicate] tabde[tach] 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]
|
||||
\ exta[dd] extde[lete] extd[isable] exte[nable] extens[ions] exu[sage] files fini[sh] fo[rward] frameo[nly] fw h[elp]
|
||||
\ ha[rdcopy] hi[ghlight] hist[ory] hs ia[bbrev] iabc[lear] im[ap] imapc[lear] ino[remap] iu[nmap] iuna[bbrev] javas[cript] js
|
||||
\ ju[mps] let loadplugins lpl ls ma[rk] macros map mapc[lear] marks mes[sages] mkv[imperatorrc] nm[ap] nmapc[lear] nno[remap]
|
||||
\ no[remap] noh[lsearch] norm[al] nu[nmap] o[pen] optionu[sage] messc[lear] pa[geinfo] 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] tabdu[plicate] tabde[tach] 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]
|
||||
\ contained
|
||||
|
||||
syn match vimperatorCommand "!" contained
|
||||
|
||||
@@ -5,6 +5,8 @@ Ex and Normal mode commands there may be times when directly accessing the GUI
|
||||
is required. There are commands for accessing the menu system, standard dialogs
|
||||
and the sidebar.
|
||||
|
||||
section:Menus[menu]
|
||||
|
||||
|:emenu| +
|
||||
||:emenu {menu}||
|
||||
________________________________________________________________________________
|
||||
@@ -14,6 +16,7 @@ hierarchical path to the menu item with each submenu separated by a period.
|
||||
E.g. [c]:emenu File.Open File...[c]
|
||||
________________________________________________________________________________
|
||||
|
||||
section:Dialogs[dialogs]
|
||||
|
||||
|:addo| |:addons| +
|
||||
||:addo[ns]||
|
||||
@@ -69,6 +72,49 @@ Show progress of current downloads. Open the original Firefox download dialog
|
||||
in a new tab. Here, downloads can be paused, canceled and resumed.
|
||||
________________________________________________________________________________
|
||||
|
||||
section:Add-ons[extensions,add-ons]
|
||||
|
||||
|:exta| |:extadd| +
|
||||
||:exta[dd] {file}||
|
||||
________________________________________________________________________________
|
||||
Install an extension. {file} is an extension XPInstall file (*.xpi).
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:extde| |:extdelete| +
|
||||
||:extde[lete] {extension}|| +
|
||||
||:extde[lete]!||
|
||||
________________________________________________________________________________
|
||||
Uninstall an extension. {extension} is the extension's name. When [!] is given
|
||||
all extensions are uninstalled.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:extd| |:extdisable| +
|
||||
||:extd[isable] {extension}|| +
|
||||
||:extd[isable]!||
|
||||
________________________________________________________________________________
|
||||
Disable an extension. {extension} is the extension's name. When [!] is given
|
||||
all extensions are disabled.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:exte| |:extenable| +
|
||||
||:exte[nable] {extension}|| +
|
||||
||:exte[nable]!||
|
||||
________________________________________________________________________________
|
||||
Enable an extension. {extension} is the extension's name. When [!] is given all
|
||||
extensions are enabled.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|:extens| |:extensions| +
|
||||
||:extens[ions]||
|
||||
________________________________________________________________________________
|
||||
List all installed extensions.
|
||||
________________________________________________________________________________
|
||||
|
||||
section:Sidebar[sidebar]
|
||||
|
||||
|:sbcl| |:sbclose| +
|
||||
||:sbcl[ose]||
|
||||
|
||||
@@ -182,10 +182,15 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
|
||||
||[c]:echomsg[c]|| Echo the expression as an informational message +
|
||||
||[c]:emenu[c]|| Execute the specified menu item from the command line +
|
||||
||[c]:execute[c]|| Execute the argument as an Ex command +
|
||||
||[c]:extadd[c]|| Install an extensions +
|
||||
||[c]:extdelete[c]||
|
||||
||[c]:extdisable[c]||
|
||||
||[c]:extenable[c]||
|
||||
||[c]:extensions[c]|| List all installed extensions +
|
||||
||[c]:exusage[c]|| List all Ex commands with a short description +
|
||||
||[c]:finish[c]|| Stop sourcing a script file +
|
||||
||[c]:frameonly[c]|| Show only the current frame's page +
|
||||
||[c]:forward[c]|| Go forward in the browser history +
|
||||
||[c]:frameonly[c]|| Show only the current frame's page +
|
||||
||[c]:hardcopy[c]|| Print current document +
|
||||
||[c]:help[c]|| Display help +
|
||||
||[c]:highlight[c]|| Style Vimperator +
|
||||
@@ -236,13 +241,13 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
|
||||
||[c]:setlocal[c]|| Set local option +
|
||||
||[c]:sidebar[c]|| Open the sidebar window +
|
||||
||[c]:silent[c]|| Execute a command silently +
|
||||
||[c]:style[c]|| Style Vimperator and web sites +
|
||||
||[c]:source[c]|| Read Ex commands from a file +
|
||||
||[c]:stop[c]|| Stop loading the current web page +
|
||||
||[c]:stopall[c]|| Stop loading all tab pages +
|
||||
||[c]:style[c]|| Style Vimperator and web sites +
|
||||
||[c]:tab[c]|| Execute a command and tell it to output in a new tab +
|
||||
||[c]:tabdo[c]|| Execute a command in each tab +
|
||||
||[c]:tabdetach[c]|| Detach current tab to its own window +
|
||||
||[c]:tabdo[c]|| Execute a command in each tab +
|
||||
||[c]:tabduplicate[c]|| Duplicate current tab +
|
||||
||[c]:tablast[c]|| Switch to the last tab +
|
||||
||[c]:tabmove[c]|| Move the current tab after tab N +
|
||||
|
||||
Reference in New Issue
Block a user