Why Function Keys F1 to F12 Are Useful
What App Use Function Key Shortcuts?
Function keys are used in many apps.Mac uses all 12 function keys to control sound volume, mute, music play/stop, screen bightness, window manager, search. 〔see Apple Laptop Keyboards ⌨〕
For Microsoft Windows and linux, here's some almost universal keys:
- F11 full screen.
- F5 browser refresh.
- F2 rename, when in desktop folder, or in image viewer.
- F12 opens JavaScript console. (Browsers: Chrome, Firefox, Edge) 〔see JS: How to Use Browser Console〕
- Photoshop. Help F1, Cut F2, Copy F3, Paste F4, Show/Hide Brush panel F5, Show/Hide Color panel F6, Show/Hide Layers panel F7, Show/Hide Info panel F8, Show/Hide Actions panel F9, Revert F12, Fill Shift+F5, Feather Selection Shift+F6, Inverse Selection Shift+F7
If you are a programer, many IDE or Linux terminal tools use all of the function keys.
- Emacs uses 6 function keys by default. 〔see Emacs Key Layout Diagram〕
- Linux htop uses F1 to F10. 〔see Linux: Monitor Processes, htop〕
- Microsoft Visual Studio, 69 shortcuts involving function keys. 〔see Microsoft Visual Studio Function Key Shortcuts〕
- Apple Xcode. (Step Into F7, Step Over F6, Step Out F8 and more with modifiers.)
Following are tips on how you can customize the function keys for more productivity.
Use Function Keys to Switch Windows
One of the best use for function keys is switching apps. I've been using this since 1992, across {Mac, Windows, Linux}.
Normally, to switch app you have to do Alt+Tab or ⌘ command+Tab, or Mac's “Mission Control”. They involve multiple keys or mouse aim. The Tab is pressed by pinky — the weakest finger. But worst is that you have to take a second to eyeball among 10 windows to look for the one you want.
〔see Why Alt Tab is Bad〕
For most of us, there are 3 or 4 specific apps we use everyday, and have to constantly switch to it many times every hour. Examples: {browser, desktop, photoshop, terminal}.
It's good to have F5 F6 F7 F8 for switching to the apps you use the most often.
For how to set a key to switch app, see: How to Set Key to Switch to Browser .
Microsoft Windows QucikLaunch for switching Windows
On Windows, if you have pinned apps in Taskbar (or Quick Launch bar in Windows Vista), the keys are ❖ Window+1, ❖ Window+2 etc.
These are not good shortcuts because:
- Two key combos is not as convenient as single key.
- The key 1 is in difficult position pressed by pinky.
Use Function Keys for Undo, Cut, Copy, Paste
The traditional keys for {Undo, Cut, Copy, Paste} are Z X C V, while holding Ctrl or ⌘ command. That's 2 key presses. You can set F1 F2 F3 F4 to them.
Copy and Paste is by far the most used keys. Setting them to single key saves you a lot hand stress.
Here is how to:
- Linux how-to: Linux: Set F2 F3 F4 to Cut Copy Paste
- Mac how-to: Mac: Keyboard Software Guide
- Windows how-to: AutoHotkey: Useful Scripts
Use Function Keys to Switch Browser Tabs
Often, you have 10 tabs open in a browser. The hotkey to switch to previous/next tab varies depending on browser. For example, for Next Tab, there's:
- Ctrl+Tab (Internet Explorer, Firefox, Chrome, Safari)
- Ctrl+PageDown (Firefox, Chrome)
- ⌘ command+Shift+→ (Safari)
They all require multiple keys. Using a mouse is more cumbersome, because you have to take a second to aim at the right tab.
It would be very convenient to set F11 F12 for prev/next tab. Pressing one of these key can quickly fly you thru all your tabs.
By default, the key to close tab is Ctrl+w.
Create a hotkey for closing the current tab. Depending on your keyboard, it can be Pause or F13.
(usually, in most browsers, you can press Ctrl+Shift+t to reopen. In Safari, it's undo Ctrl+z)
- Linux how-to: Linux: Add Keyboard Shortcut to Switch App
- Mac how-to: Mac: Keyboard Software Guide
- Microsoft Windows how-to: AutoHotkey: Useful Scripts
Use Function Keys to Switch Virtual Desktop
On Mac, Linux, Windows 10, you have virtual screen called “workspace”. Typically, Linuxes lets you switch by Ctrl+Alt+→ , or Ctrl+1, Ctrl+2. That's 2 or 3 combo-keys requiring both hands.
If you use Virtual Desktop heavily, then F9 F10 are perfect keys for it.
For Linux, just go to the control panel, then windows manager preference. See: Linux: Keyboard Software Guide
For Mac OS X, you can set in control panel too.
Keyboard with Bad Function Keys
Function Keys vs Special App Launch Buttons
Many keyboards have special buttons to launch apps. But these keyboard usually have badly designed buttons.
- They are harder to press than Function keys.
- They are in hard-to-reach places.
- Their positions and size are not standardized. It requires looking to press the button.