Skip to content

Instantly share code, notes, and snippets.

@panayiotis
Created March 26, 2019 22:45
Show Gist options
  • Save panayiotis/8bc1896271c42aad9540cd66522d3502 to your computer and use it in GitHub Desktop.
Save panayiotis/8bc1896271c42aad9540cd66522d3502 to your computer and use it in GitHub Desktop.

Essential Linux shortcuts for MacOS users

In Linux many keyboard shortcuts use the function keys (upper row in the keyboard). To press an F key the fn key has to be pressed on the same time. If you prefer the function keys to always behave as standard function keys(without holding the fn key):

  1. Enter System Preferences
  2. Enter Keyboard settings
  3. Click the Keyboard tab if it's not already highlighted
  4. Select Use all F1, F2, etc. keys as standard function keys
Navigation
option + fn + F1 Activities (Mission Control)
command + s same as above
command + a Applications (Launchpad)
control + option+ Move to Workspace above
control + option+ Move to Workspace below
option + fn + F2 Run Dialog
Windows
command + Maximize window
command + Half maximize window to the left split
command + Half maximize window to the right split
option + fn + F4 Close window
shift + control + q Close window (same as above)
Terminal
control + shift + n New terminal window
control + shift + t New terminal tab in current window
control + c Kill current running process
shift + control + c Copy text
shift + control + v Paste text
control + a Move cursor to start of the line
control + e Move cursor to end of the line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment