vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Feature-request: default to insert mode as an alternative to disabling

Open peey opened this issue 5 years ago • 6 comments

Currently users can maintain a list of websites on which vimium should be disabled entirely.

I only enable this when the websites themselves make heavy use of keyboard shortcuts by default. If instead I could ask vimium to start in insert mode on these websites, then I could just press escape and retain vimium's functionality too.

This kind of workflow is also hindered because after entering insert mode, interacting with the page using mouse (e.g. form controls) takes you out of the insert mode. If the user could stay in insert mode until esc was pressed, that'd make it better.

peey avatar Oct 23 '20 13:10 peey

Vimium command passNextKey support a parameter named "normal", and when it's true Vimium will be in a new "normal mode without pass keys". So you may use exclusion rules to exclude most keys on a page, and when you need press an available key to trigger map *** passNextKey normal count=99.

gdh1995 avatar Sep 04 '21 22:09 gdh1995

@gdh1995 Please forgive my ignorance, if I want to exclude J,K,L for a site and use \ to enter nomal mode (enable J,K,L for Vimium navigations), how to write such config?

wenfangdu avatar Sep 05 '21 07:09 wenfangdu

@wenfangdu just like this image: image

gdh1995 avatar Sep 06 '21 08:09 gdh1995

Oh, I has a customized version of Vimium, named Vimium C, and it supports a way to toggle pass keys of a current tab by triggering a command: https://github.com/gdh1995/vimium-c/wiki/Enable-or-Disable-all-frames-by-a-shortcut

gdh1995 avatar Sep 07 '21 08:09 gdh1995

Any progress on this? I would love to be able to default everything to insert mode.

otonoton avatar May 18 '24 15:05 otonoton

+1

McBruno712 avatar Jun 03 '25 03:06 McBruno712