Is there a way to quickly toggle the "use F1, F2, etc as standard function keys" in OSX? I'm a vim user on a MacBook, and I'd like to use at least some of the function keys for vim mappings, but it's a big sacrifice in ease-of-use outside of Vim.

How do most people resolve this?

  • i also use vim but i have never had to use one of the Fx Keys, what functions do they have which are not also mapped to other key-combos?
    – konqui
    Dec 29 '13 at 11:18
  • @konqui that's a good point. I was mapping a few things to Fx keys for convenience (help, toggle background light/dark, some other random stuff), but I'm not sure how helpful it actually is. I've since moved it all out of the Fx keys except for help (defaults to F1) and toggle background (F2). Both of these are easily available elsewhere, so I'm not sure it's worth the trouble. Palua is pretty cool though!
    – ivan
    Dec 29 '13 at 16:26


Palua lets you set the 'standard function keys' setting for individual apps only.

With Palua, you just need one click - or one hotkey - to toggle the mode your Fx keys are.

Palua Smart Mode


<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::LAUNCHPAD, KeyCode::F4</autogen>
    <autogen>__KeyToKey__ KeyCode::F4, KeyCode::LAUNCHPAD</autogen>

For other keys have a look at the key list.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .