mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-06 20:35:45 +01:00
add 'eventignore' option
This commit is contained in:
1
NEWS
1
NEWS
@@ -1,6 +1,7 @@
|
||||
<pre>
|
||||
2008-08-16:
|
||||
* version 2.0 (probably)
|
||||
* add 'eventignore' option
|
||||
* add :tabdetach command
|
||||
* new ;b extended hint mode (thanks Daniel Schaffrath)
|
||||
* many bug fixes
|
||||
|
||||
@@ -46,6 +46,10 @@ liberator.AutoCommands = function () //{{{
|
||||
////////////////////// OPTIONS /////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
liberator.options.add(["eventignore", "ei"],
|
||||
"List of autocommand event names which should be ignored",
|
||||
"stringlist", "");
|
||||
|
||||
liberator.options.add(["focuscontent", "fc"],
|
||||
"Try to stay in normal mode after loading a web page",
|
||||
"boolean", false);
|
||||
@@ -220,6 +224,13 @@ liberator.AutoCommands = function () //{{{
|
||||
|
||||
trigger: function (auEvent, url)
|
||||
{
|
||||
if (liberator.options["eventignore"].split(",").some(function (event) {
|
||||
return event == "all" || event == auEvent;
|
||||
}))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (autoCommands[auEvent])
|
||||
{
|
||||
for (var i = 0; i < autoCommands[auEvent].length; i++)
|
||||
|
||||
@@ -245,6 +245,14 @@ The XPath string of hintable elements activated by [m];[m].
|
||||
____
|
||||
|
||||
|
||||
|\'ei'| |\'eventignore'|
|
||||
||'eventignore'|| stringlist (default: "")
|
||||
____
|
||||
A list of autocommand event names which should be ignored. If the list contains
|
||||
the value "all" then all events are ignored.
|
||||
____
|
||||
|
||||
|
||||
|\'nofc'| |\'nofocuscontent'| |\'fc'| |\'focuscontent'|
|
||||
||'focuscontent' 'fc'|| boolean (default: off)
|
||||
____
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: VIMperator configuration file
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" Latest Revision: 2008 August 19
|
||||
" Last Change: 2008 Aug 28
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -40,13 +40,13 @@ syn match vimperatorCommandWrapper "\%(^\s*:\=\)\@<=\%(!\|\h\w*\>\)" contains=vi
|
||||
|
||||
syn region vimperatorSet matchgroup=vimperatorCommand start="\%(^\s*:\=\)\@<=\<set\=\>" end="$" keepend oneline contains=vimperatorOption
|
||||
syn keyword vimperatorOption activate act activelinkfgcolor alfc activelinkbgcolor albc complete cpt defsearch ds editor
|
||||
\ extendedhinttags eht focuscontent fc nofocuscontent nofc fullscreen fs nofullscreen nofs guioptions go hintmatching hm
|
||||
\ hintstyle hs hinttags ht hinttimeout hto history hi hlsearch hls nohlsearch nohls hlsearchstyle hlss incsearch is
|
||||
\ noincsearch nois ignorecase ic noignorecase noic insertmode im noinsertmode noim laststatus ls linkbgcolor lbc linkfgcolor
|
||||
\ lfc linksearch lks nolinksearch nolks more newtab nextpattern nomore pageinfo pa popups pps preload nopreload previewheight
|
||||
\ pvh previouspattern online noonline scroll scr shell sh shellcmdflag shcf showmode smd noshowmode nosmd showstatuslinks ssli
|
||||
\ showtabline stal smartcase scs nosmartcase noscs suggestengines titlestring usermode um nousermode noum urlseparator verbose
|
||||
\ vbs visualbell vb novisualbell novb visualbellstyle wildmode wim wildoptions wop wordseparators wsp
|
||||
\ extendedhinttags eht eventignore ei focuscontent fc nofocuscontent nofc fullscreen fs nofullscreen nofs guioptions go
|
||||
\ hintmatching hm hintstyle hs hinttags ht hinttimeout hto history hi hlsearch hls nohlsearch nohls hlsearchstyle hlss
|
||||
\ incsearch is noincsearch nois ignorecase ic noignorecase noic insertmode im noinsertmode noim laststatus ls linkbgcolor lbc
|
||||
\ linkfgcolor lfc linksearch lks nolinksearch nolks more newtab nextpattern nomore pageinfo pa popups pps preload nopreload
|
||||
\ previewheight pvh previouspattern online noonline scroll scr shell sh shellcmdflag shcf showmode smd noshowmode nosmd
|
||||
\ showstatuslinks ssli showtabline stal smartcase scs nosmartcase noscs suggestengines titlestring usermode um nousermode noum
|
||||
\ urlseparator verbose vbs visualbell vb novisualbell novb visualbellstyle wildmode wim wildoptions wop wordseparators wsp
|
||||
\ contained
|
||||
|
||||
syn region vimperatorJavascript start="\%(^\s*\%(javascript\|js\)\s\+\)\@<=" end="$" contains=@javascriptTop keepend oneline
|
||||
|
||||
Reference in New Issue
Block a user