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

Poseiden picture Poseiden  ·  3Comments

devanshuDesai picture devanshuDesai  ·  4Comments

PickRelated picture PickRelated  ·  4Comments

peter099 picture peter099  ·  3Comments

kaldown picture kaldown  ·  3Comments