Skip to main content
  1. Blog/

Boost Mac Productivity with Custom Shortcuts

Common Mac Keyboard Shortcuts
#

🔧 System Basics
#

ShortcutDescriptionSymbolic Representation
cmd+tabSwitch applications⌘+⇥
cmd+`Switch between windows of same app⌘+`
cmd+wClose current window/tab⌘+w
cmd+mMinimize current window⌘+m
cmd+shift+3Full screen screenshot⌘+⇧+3
cmd+shift+4Partial screenshot⌘+⇧+4
cmd+qQuit current application⌘+q
cmd+backspaceDelete current line/selection⌘+⌫
cmd+ctrl+fToggle full screen mode⌘+⌃+f

💻 Command Line Environment
#

ShortcutDescriptionSymbolic Representation
ctrl+uDelete entire line before cursor⌃+u
ctrl+wDelete word before cursor⌃+w
ctrl+aMove cursor to line start⌃+a
ctrl+eMove cursor to line end⌃+e
ctrl+kDelete from cursor to line end⌃+k

📝 VS Code
#

ShortcutDescriptionSymbolic Representation
cmd+,Open settings⌘+,
shift+alt+fFormat document⇧+⌥+f
ctrl+`Toggle integrated terminal⌃+`
cmd+shift+pOpen command palette⌘+⇧+p
cmd+wClose current editor tab⌘+w
cmd+shift+wClose current window⌘+⇧+w

u-tools
#

Feature NameShortcutSymbolic Representation
Launch main pagealt+space⌥+␣
Stock trackeralt+s⌥+s
Generate variable namealt+n⌥+n
Text translationalt+f⌥+f

Karabiner Custom Script
#

Modifier: alt (hold alt then press the following keys)

Function KeyMapped FunctionSymbolic Representation
jLeft arrow key⌥+j → ←
kDown arrow key⌥+k → ↓
iUp arrow key⌥+i → ↑
lRight arrow key⌥+l → →
uBackspace⌥+u → ⌫
mEnter⌥+m → ↵
p(⌥+p → (
/=⌥+/ → =
,-⌥+, → -
.+⌥+. → +
{
    "summary": "mzm yyds",
    "manipulators": [
        {
            "from": {
                "key_code": "j",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "left_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "k",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "down_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "i",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "up_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "l",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "right_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "u",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "delete_or_backspace" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "m",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "keypad_enter" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "p",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": {
                "key_code": "9",
                "modifiers": ["shift"]
            },
            "type": "basic"
        },
        {
            "from": {
                "key_code": "slash",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "equal_sign" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "comma",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": [{ "key_code": "hyphen" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "period",
                "modifiers": {
                    "mandatory": ["left_option"],
                    "optional": ["any"]
                }
            },
            "to": {
                "key_code": "equal_sign",
                "modifiers": ["shift"]
            },
            "type": "basic"
        }
    ]
}