This is required in cases where no focus/blur events are triggered after a
form was submitted. Else we'd end up with vimb keeping in input mode but none
focused editable element.
uri = webkit_web_view_get_uri(view);
autocmd_run(AU_LOAD_FIRST_LAYOUT, uri, NULL);
#endif
+ /* if we load a page from a submitted form, leave the insert mode */
+ if (vb.mode->id == 'i') {
+ vb_enter('n');
+ }
break;
case WEBKIT_LOAD_FINISHED: