This project adapts Spacemacs key bindings for use in the Zed editor, bringing the ergonomic and mnemonic space-based key combinations to Zed's modern editing environment.
- Space-prefixed key bindings similar to Spacemacs
- Vim mode compatibility
- Git integration with magit-inspired commands
- Terminal, project management, and navigation shortcuts
- Clone this repository to
~/.config/or - Copy the
keymap.jsonandsettings.jsonfiles to your Zed configuration directory:- macOS:
~/.config/zed/ - Linux:
~/.config/zed/ - Windows:
%APPDATA%\Zed\
- macOS:
space f e d- Open keymap filespace '- Toggle terminalspace tab- Alternate file
space b b- File finderspace b s- New filespace 1-9- Switch to tab 1-9
space g s- Toggle Git panelspace g b- Git blame
space j i- Toggle outlinespace /- New searchspace *- Search current word
space p p- Open recent projectspace p t- Toggle project panelspace p f- File finder
space c l- Toggle commentsspace a i- Toggle AI agent
tab- Show diffc c- Commitb b- Checkout branchb c- Create branch, actually in Zed they are kind of the sameP u- PushF u- Pulls- Toggle stagedS- Stage all
This project includes:
keymap.json- All Spacemacs-like key bindingssettings.json- Base configuration with vim mode enabledtasks.json- Optional tasks for git and search operations, not used for now
Feel free to use and provide feedback on this configuration. Contributions are welcome!