vimperator-labs icon indicating copy to clipboard operation
vimperator-labs copied to clipboard

ignorekeys does not seem to work

Open geo909 opened this issue 9 years ago • 5 comments

Issue type:
  • Bug report
Version:

Vimperator: 3.13.0 (created: 2016/04/28 00:20:02) Firefox: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Description:

I am trying to ignore keys on certain websites. For example, let's consider https://en.wikipedia.org/wiki/Main_Page

I have all the following in my vimperatorrc

ignorekeys add https://en.wikipedia.org/wiki/Main_Page 
ignorekeys add http*://en.wikipedia.org/wiki/Main_Page 
ignorekeys add http*://en.wikipedia.org/wiki/*
ignorekeys add https://en.wikipedia.org/
ignorekeys add https://en.wikipedia.org/*
ignorekeys add http*://en.wikipedia.org/
ignorekeys add http*://en.wikipedia.org/*
ignorekeys add *wikipedia*
ignorekeys add https://en\\.wikipedia\\.org/wiki/Main_Page

Then heading to https://en.wikipedia.org/wiki/Main_Page and pressing 'r' reloads the page, so vimperator does not override 'r', for example.

Expected behavior:

Pressing keys like "r" should override vimperator and passed to firefox when I visit https://en.wikipedia.org/wiki/Main_Page since I have those lines in my vimperatorrc

Steps to reproduce:

.Add the above mentioned lines in your vimperatorrc .Head to https://en.wikipedia.org/wiki/Main_Page .Press 'r'. The page is reloaded.

geo909 avatar May 04 '16 16:05 geo909

Works fine for me. Page don't reload.

ghost avatar May 04 '16 16:05 ghost

That's weird. I created a new profile in firefox, no addons or any tweak whatsoever, then installed vimperator, then I created a vimperatorrc with only those lines. The problem persists.

I'm using linux as it is suggested in my version in my previous post.

EDIT: I forgot to mention that if I add anything else, like a map for instance, this works. So it is not the case that vimperatorrc is not sourced.

EDIT2: Doing :ignorekeys list gives me "TypeError: context is undefined", so maybe the issue is related to https://github.com/vimperator/vimperator-labs/issues/456

geo909 avatar May 04 '16 17:05 geo909

EDIT2: Doing :ignorekeys list gives me "TypeError: context is undefined", so maybe the issue is related to #456

Update to 3.13.1

ghost avatar May 04 '16 21:05 ghost

Hmm.. That didn't do it. I updated to 3.13.1, which fixed the issues discussed in #456, but it didn't fix the ignorecase keys, the problem remains the same.

EDIT: Also ":set passthrough" does not work, either..

geo909 avatar May 04 '16 22:05 geo909

On February 20 of this year I started experiencing this exact same issue and I can not fix it. It is driving me crazy. Did you ever find a solution to this?

lizardz433 avatar Mar 18 '17 03:03 lizardz433