mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 08:44:13 +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");
|
||||
|
||||
// at the very last, read a ~/.vimperatorrc
|
||||
source("~/.vimperatorrc", true);
|
||||
|
||||
logMessage("~/.vimperatorrc sourced");
|
||||
/*
|
||||
* Finally, read a ~/.vimperatorrc
|
||||
* Make sourcing asynchronous, otherwise commands that open new tabs won't work
|
||||
*/
|
||||
setTimeout(function() {
|
||||
source("~/.vimperatorrc", true);
|
||||
logMessage("~/.vimperatorrc sourced");
|
||||
}, 50);
|
||||
}
|
||||
|
||||
function unload()
|
||||
|
||||
Reference in New Issue
Block a user