mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 15:53:31 +01:00
delay sourcing of the rc file so that commands that open new tabs (like js!) can work
This commit is contained in:
@@ -247,10 +247,14 @@ function init()
|
|||||||
|
|
||||||
logMessage("Initialized");
|
logMessage("Initialized");
|
||||||
|
|
||||||
// at the very last, read a ~/.vimperatorrc
|
/*
|
||||||
source("~/.vimperatorrc", true);
|
* Finally, read a ~/.vimperatorrc
|
||||||
|
* Make sourcing asynchronous, otherwise commands that open new tabs won't work
|
||||||
logMessage("~/.vimperatorrc sourced");
|
*/
|
||||||
|
setTimeout(function() {
|
||||||
|
source("~/.vimperatorrc", true);
|
||||||
|
logMessage("~/.vimperatorrc sourced");
|
||||||
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
||||||
function unload()
|
function unload()
|
||||||
|
|||||||
Reference in New Issue
Block a user