philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.54k stars 2.49k forks source link

Unmap cmd + left / cmd + right arrow behavior #3873

Open oliverswitzer opened 3 years ago

oliverswitzer commented 3 years ago

How does one unmap the default behavior to go back or forward in the browser when pressing cmd + arrow or cmd + arrow respectively? I have so far tried:

unmap unmap cmd +

And neither appears to work

The reason for wanting to unmap is because it prevents me from doing proper line selection (cmd + left would normally highlight the text to the left of the cursor)

An alternative solution is to only allow this command to send you back or forward in history if you're not focused in an text input

gdh1995 commented 3 years ago

cmd+left/right seem not in the default list of key mappings in Vimium, so they maybe belong to other extensions or your browser itself.

oliverswitzer commented 3 years ago

Hmm, odd. I’ve tried uninstalling Vimium and the behavior (cmd + left arrow navigates backward in history and vice versa for right arrow) disappears for me when I do. It reappears when I reinstall Vimium… can you confirm that this behavior does not appear for you on a fresh install?

On Tue, Jul 27, 2021 at 9:37 PM Dahan Gong @.***> wrote:

cmd+left/right seems not in the default list of key mappings in Vimium.

— You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub https://github.com/philc/vimium/issues/3873#issuecomment-887943815, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGBG7RKJRPG4NTPKR7BFLLTZ5NPPANCNFSM5BDDSJSA .

gdh1995 commented 3 years ago

Have you modified "custom key mappings" on Vimium Options?

oliverswitzer commented 3 years ago

@gdh1995 nope, only trying to "unmap" the arrow key functionality in this section of Vimium options like I mentioned in the issue.