Vimium: How to use <a-f> in mac

Created on 16 Jun 2016  路  6Comments  路  Source: philc/vimium

Hello,
Just as title said, i'd like to use < a-p > and < a-f > in mac osx, how should i do?
thanks

Most helpful comment

As a workaround, I redefined the key mapping by entering <alt-f> on the keyboard to type a sign after the map command. It's weird but it works for me (I'm on Mac OS, Chrome 51):

unmap <a-f>
map 茠 LinkHints.activateModeWithQueue

All 6 comments

Thanks, @whcn. I suspect this is a dup of #2147.

(Closing for now; shout if that's not right.)

As a workaround, I redefined the key mapping by entering <alt-f> on the keyboard to type a sign after the map command. It's weird but it works for me (I'm on Mac OS, Chrome 51):

unmap <a-f>
map 茠 LinkHints.activateModeWithQueue

Thank you very much, this problem have troubled me for a long time

As for <a-p>, this fixed it for me:

https://github.com/philc/vimium/issues/2161#issuecomment-330984319

unmap <a-p>
map <a-蟺> togglePinTab

It bothers me that a workaround is needed for each Alt/Option keybinding though. It doesn't scale in case Vimium adds more of those. Hopefully a general solution for MacOS can be found.

In reply to @arcaartem's comment above:

Wonderful thanks so much, this has been extremely helpful. However it didn't work for me, so I modified it by removing the unmap line (it doesn't seem to be necessary, at least for me) and following the format of the second line of @kbdluv 's comment above:

map <a-茠> LinkHints.activateModeWithQueue

It's really weird. I met the same problem. You guys' workarounds work wonderful. But now I am super curious what things happened that led to this (inelegant) workaround聽.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

umutyazgan picture umutyazgan  路  4Comments

chutaklee picture chutaklee  路  4Comments

PickRelated picture PickRelated  路  4Comments

everyonesdesign picture everyonesdesign  路  3Comments

haroldcarr picture haroldcarr  路  4Comments