This repository contains a custom configuration file for Karabiner-Elements, a powerful keyboard customization tool for MacOS. This configuration provides PC-style keyboard shortcuts and keybindings for various functions on a MacOS system.
- Download and install Karabiner-Elements from here.
- Clone this repository to your local machine or download the
personal_shortcuts.jsonfile. - Open Karabiner-Elements and go to the "Misc" tab.
- Click "Open Karabiner-Elements Configuration Directory" to navigate to your Karabiner-Elements configuration folder.
- Within the "assets" folder, create a new folder called "complex_modifications" if it doesn't already exist.
- Move the
personal_shortcuts.jsonfile to the "complex_modifications" folder. - Open Karabiner-Elements and go to the "Complex Modifications" tab.
- Click on the "Add rule" button and click on
Enable AllforPersonal PC-Style Shortcuts - Reload Karabiner-Elements to apply the new configuration.
Now you should be able to use the new keybindings on your Mac. If you need to modify or add new keybindings, you can edit the personal_shortcuts.json file and reload Karabiner-Elements to apply the changes.
The following are the keybindings provided by this configuration:
HometoControl+A: moveToBeginningOfLineEndtoControl+E: moveToEndOfLineShift+HometoShift+Command+Left: moveToBeginningOfLineAndModifySelectionShift+EndtoShift+Command+Right: moveToEndOfLineAndModifySelectionShift+Control+HometoShift+Command+Up: moveToBeginningOfDocumentAndModifySelectionShift+Control+EndtoShift+Command+Down: moveToEndOfDocumentAndModifySelectionControl+HometoCommand+Up: moveToBeginningOfDocumentControl+EndtoCommand+Down: moveToEndOfDocument
- PC-Style
Control+Up/Down/Left/Right - PC-Style Copy/Paste/Cut
Control+C/V/X - PC-Style Undo (Swiss Keyboard
Z/Yswapped) - PC-Style Redo
Control+Y - PC-Style Select-All
Control+A - PC-Style Save
Control+S - PC-Style Quit Application (
Command+F4toCommand+Q) - PC-Style Browser Zoom (
Control+Plus/Minus/0) - PC-Style
Control+Delete/Backspace: deleteWordBackward, deleteWordForward - PC-Style Find
Control+F/G - PC-Style Reload (
F5,Control+R) - PC-Style New Document (
Control+NtoCommand+N) - PC-Style Close (
Control+WtoCommand+W) - PC-Style New Tab (
Control+TtoCommand+T) - PC-Style Bold (
Control+BtoCommand+B) - PC-Style Italic (
Control+ItoCommand+I) - PC Style Open URL location - only in browsers (
Control+LtoCommand+L) - PC Style Reopen Closed Tab - only in browsers (
Control+Shift+TtoCommand+Shift+T) - PC Style New Private Window - only in browsers (
Control+Shift+P/NtoCommand+Shift+P/N) - PC Style Lock Computer (
Option+LtoControl+Command+Q)
- Paste without formatting
Control+Shift+VtoCommand+Option+Shift+V - Open Launchpad with
Control+Esc - Open Activity Monitor with
Control+Shift+Esc - Open Ghostty with
F15 - Press
CAPS LOCKtwice to activate, otherwise held down and use as HYPER (Control+Command+Shift+Option) - Avoid starting sysdiagnose with the built-in macOS shortcut
Control+Command+Shift+Option+, - Avoid starting sysdiagnose with the built-in macOS shortcut
Control+Command+Shift+Option+. - Enter is the same as Return (
Keypad EntertoReturn) - Remap closing an application (
Hyper+Shift+SpacetoCommand+Q)
- Swiss PC-Style
Command+[è/ü]to[ - Swiss PC-Style
Command+[3]to# - Swiss PC-Style
Command+[7]to| - Swiss PC-Style
Command+[¨]to] - Swiss PC-Style
Command+[2]to@ - Swiss PC-Style
Command+[à/ä]to{ - Swiss PC-Style
Command+[$]to} - Swiss PC-Style
Command+[<]to\ - Swiss PC-Style
Command+[']to´ - Swiss PC-Style
Command+[^]to~ - Swiss PC-Style
Command+[e]to€
- Rotate/mirror/balance spaces (
HYPER+R|HYPER+Z/X|HYPER+B) - Toggle float and zoom (
HYPER+T|HYPER+G/F) - Warp windows between displays (
HYPER+A/W/S/D) - Resize windows (
HYPER+J/I/K/L) - Stack navigation | windows focus (
HYPER+Tab|HYPER+E/Q) - Layout configuration stack|bsp|float (
HYPER+C|HYPER+P|HYPER+N) - Switch to desktop layout (
HYPER+M) - Restart service (
HYPER+Y)
- Firefox Open Container (
Control+Number 1-9) - Browser zoom controls for Firefox, Safari, Brave, and Perplexity Comet
- Use
F2as Rename - Move one folder back in Finder with
Mouse Button 4 - Move one folder forward in Finder with
Mouse Button 5
- Move one folder forward in Explorer with
Mouse Button 6 - Move one folder back in Explorer with
Mouse Button 4
The configuration automatically excludes the following virtualization and remote desktop applications to prevent conflicts:
- TeamViewer
- Parallels Desktop
- Remote Desktop Manager
Feel free to contribute to this repository by submitting pull requests or suggesting new keybindings. Any feedback or suggestions are greatly appreciated.
- https://ke-complex-modifications.pqrs.org/#Jesse_Tutorial_Hyper_Plus_Others
- https://ke-complex-modifications.pqrs.org/#caps_lock_twice
- https://ke-complex-modifications.pqrs.org/#personal_bavelee_20200321
- https://ke-complex-modifications.pqrs.org/#swiss_pc_shortcuts
- https://ke-complex-modifications.pqrs.org/#finder_improved_navigation
- https://ke-complex-modifications.pqrs.org/#finder
This project is licensed under the MIT License - see the LICENSE file for details.
