mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 15:24:10 +01:00
added LocationChange autocmd
This commit is contained in:
@@ -1445,6 +1445,8 @@ liberator.Events = function () //{{{
|
||||
liberator.statusline.updateUrl();
|
||||
liberator.statusline.updateProgress();
|
||||
|
||||
liberator.autocommands.trigger("LocationChange", liberator.buffer.URL);
|
||||
|
||||
// if this is not delayed we get the position of the old buffer
|
||||
setTimeout(function () { liberator.statusline.updateBufferPosition(); }, 100);
|
||||
},
|
||||
|
||||
@@ -20,9 +20,10 @@ Add {cmd} to the list of commands Vimperator will execute on {event}:
|
||||
|
||||
Available {events}:
|
||||
|
||||
* Startup
|
||||
* Quit
|
||||
* LocationChange
|
||||
* PageLoad
|
||||
* Quit
|
||||
* Startup
|
||||
|
||||
{pat} is a regular expression, use .* if you want to match all events.
|
||||
________________________________________________________________________________
|
||||
|
||||
Reference in New Issue
Block a user