1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 08:02:25 +01:00

experimental attempt to keep you in command mode after loading pages

This commit is contained in:
Martin Stubenschrott
2007-09-06 12:32:07 +00:00
parent e4981ca34c
commit 3ff2cccc37
2 changed files with 4 additions and 3 deletions

View File

@@ -230,9 +230,9 @@ function Events() //{{{
// code which is only relevant if the page load is the current tab goes here:
if (doc == getBrowser().selectedBrowser.contentDocument)
{
/* none yet */
//vimperator.statusline.updateUrl();
//logMessage("onpageLoad");
// we want to stay in command mode after a page has loaded
// TODO: remember the last focused input widget, so we can go there with 'gi'
setTimeout(vimperator.focusContent, 10);
}
}
}