Karabiner-Elements remaps and customizes keyboard input on macOS, with a graphical editor and shareable rule sets.
Overview
Karabiner-Elements is a macOS application for changing how keys behave. It lets you define simple mappings through a graphical interface or adopt richer behavior with rule definitions.
The project ships with many predefined rules, including Emacs-style bindings, Vi-style bindings, mouse keys, a diamond cursor layout, and guards against accidental Command-Q quits. Community-published rules can be imported when you need ready-made profiles.
You can edit imported rules or author new ones when default behavior is not enough. Official builds install from downloadable packages or Homebrew, and recent macOS releases on both Intel and Apple Silicon hardware are listed as supported.
Background services handle low-level input, so macOS grants accessibility and related permissions during setup.
Key features
- GUI for simple key maps
- Large library of predefined rules
- Import community rules online
- Author custom modification rules
- Emacs and Vi binding presets
- Mouse keys and cursor layouts
- Intel and Apple Silicon support
- Homebrew cask installation
Use cases
- Remap inconvenient default keys
- Use Emacs or Vi bindings globally
- Control the pointer from the keyboard
- Avoid accidental application quit shortcuts