Rethink about insert/normal mode #63
Labels
mode-insert
Issues related to insert mode
mode-normal
Issues related to normal mode
wontfix
This will not be changed, working as intended
This is related to #62 #56 #57.
The behavior of normal mode and insert mode of Vieb is quite different from other vim-inspired browser.
Normal Mode
In other vim-inspired browsers, keys are not all grabbed. Rather, I think they only handle mapped keys. If a key is not mapped, it is passed through to the website. So in site like youtube,
<Left>
,<Right>
, if not remapped, they are passed through and fast-forward/backward the playback.On the other hand, in Vieb normal mode, all keys are grabbed by Vieb, and unmapped keys are not pass-through. Which make
<Left>
,<Right>
does nothing in yotube. This can be solved if per-site pass through is implemented. However, I think a more user-friendly way is to just pass-through unmapped keys.Insert Mode
Insert mode in Vieb is more like Normal mode in other vim-inspired browsers, which handle all mapped keys but pass through all unmapped keys to the website. However, when entering insert mode, a side effect is to enter the first input field in the page. So if I want to fast-forward/backward in youtube, I need:
i
to enter insert mode.While in other vim-inspired browser, this can totally be done without any extra step in normal mode.
The behavior of Vieb and the name
Insert mode
, IMHO, is counter-intuitive and cause extra burden for simple things. So I think it should be consider to redesign the behavior of these two modes. As a side note, other vim-inspired browser might also provide another mode namedpass through
, which passes all keys to the web page except for one single key to exitpass through
mode.The text was updated successfully, but these errors were encountered: