1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 14:55:45 +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

1
NEWS
View File

@@ -1,6 +1,7 @@
<pre>
2007-xx-xx:
* version 0.6
* vimperator trys to stay in command mode after loading pages instead of having a text field focused
* added a visual bell and replaced 'beep' with 'visualbell'
* added vimperator logo (can be seen in the addons manager)
* added 'hlsearch','incsearch', 'ignorecase' and 'smartcase' options

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);
}
}
}