Set up my Zed config
A step-by-step guide to my Zed settings, keymap, and the Aura Dark Custom theme — one curl command, then a few clicks.
This is the exact editor setup I use every day: my settings.json, the keymap.json that layers VS Code-style shortcuts on top of Zed, and the bundled Aura Dark Custom theme. The fastest way to try it is the one-line installer from the README.
What you get
The full source, README, keybinding cheat sheet, theme file, and installers live in alok-mishra143/alok-zed-config. This guide walks through the same steps.
- My full Zed
settings.json— fonts, cursor, panels, terminal, agent, MCP servers, and more. keymap.json, layered on the VSCode base keymap so the shortcuts you already know keep working, plus a few ctrl-based conveniences.KEYBINDINGS.md, a cheat sheet of the custom bindings and the defaults worth memorizing.- The Aura Dark Custom theme, installed alongside the config.
- A one-line installer with a component picker that backs up existing files before replacing them.
Before you start
- Install Zed if you have not already.
- Quit Zed completely. Local themes are loaded when Zed starts, so the installer should run while it is closed.
- Keep a terminal open — the whole install is one command.
Install with one command
This is the command from the README. It asks which components to install, then backs up and installs your selection.
macOS / Linux / Windows (Git Bash or WSL):
curl -fsSL https://raw.githubusercontent.com/alok-mishra143/alok-zed-config/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/alok-mishra143/alok-zed-config/main/install.ps1 | iex
All three components are selected by default: settings.json, keymap.json, and the Aura Dark Custom theme. Press Enter to install them all, or toggle components with 1–3 before confirming.
To skip the prompt:
# Install everything without asking
curl -fsSL https://raw.githubusercontent.com/alok-mishra143/alok-zed-config/main/install.sh | bash -s -- --yes
# Install only the keymap and theme
curl -fsSL https://raw.githubusercontent.com/alok-mishra143/alok-zed-config/main/install.sh | bash -s -- --only keymap,theme
Other --only values are settings, theme, and all. The installer writes to:
~/.config/zedon macOS and Linux (respectsXDG_CONFIG_HOME).%APPDATA%\Zedon Windows through Git Bash / MSYS.- A custom folder when you pass
--dir PATHor setZED_CONFIG_DIR.
Existing files are copied to settings.json.backup-YYYYMMDD-HHMMSS, keymap.json.backup-YYYYMMDD-HHMMSS, and aura-dark-custom.json.backup-YYYYMMDD-HHMMSS before the new ones land. Pass --no-backup only if you are sure you do not want the old files. --dry-run prints every step without touching your config.
Finish the setup in Zed
- Reopen Zed.
- Open the command palette (
cmd-shift-pon macOS,ctrl-shift-pelsewhere) and run theme selector: toggle. - Pick Aura Dark Custom for dark mode. Light mode is set to Ayu Light in the same settings file.
- Check that the fonts look right — the config expects JetBrainsMono Nerd Font for the terminal.
- Type a prefix like
cmd-kand pause: the which-key menu shows what can follow, so you can learn the chords as you go.
Keybindings
keymap.json is layered on the VSCode base keymap, so most shortcuts stay where VS Code puts them. These are the custom additions:
ctrl-b— toggle the right dock.ctrl-p— focus the project panel.ctrl-`— toggle the terminal panel.ctrl-shift-f/ctrl-shift-h— project search / search and replace.ctrl-shift-t— reopen the last closed tab.ctrl-alt-p— toggle AI edit predictions.ctrl-alt-i/ctrl-alt-g— toggle inlay hints / inline git blame.shifttwice — open the file finder.ctrl-o— move the cursor left, kept from the original keymap.alt-f— focus the search field inside project search.
To make room for the ctrl-based layout, the macOS defaults cmd-r, cmd-j, and cmd-shift-e are unbound, and the Emacs-style ctrl-b / ctrl-p / ctrl-shift-f cursor bindings are removed while editing.
Edit the keymap with cmd-k cmd-s, or run zed: open default keymap from the command palette to inspect every default. KEYBINDINGS.md has the full custom list plus a cheat sheet for files, editing, panes, git, and the agent panel.
Quality of life
The settings add a few behaviours on top of the original config:
- Which-key menu — pending chords show their possible continuations.
- Preview tabs from the file finder —
cmd-preuses a tab instead of opening a new one each time, like VS Code. - Keep the window open when the last tab is closed (
cmd-wno longer quits the window). - Faster scanning —
node_modules,.next,dist,build,target,.venv, and__pycache__are excluded from project scans and search. - Web formatting — format-on-save for JavaScript, TypeScript, JSON, CSS, SCSS, HTML, and Markdown, with 2-space indentation for web languages.
Optional extensions
- Comments Highlighter — colored TODO / INFO / WARN / FIXME tags. The settings include custom colors for these.
- Material Icon Theme — referenced by
icon_theme. Install it, or change that value to a built-in icon theme.
Add your API keys
The public settings file ships with placeholders, never real keys. Search for YOUR_ in the installed settings.json and fill in only the ones you use:
YOUR_GITHUB_PERSONAL_ACCESS_TOKENfor the GitHub MCP server.YOUR_CONTEXT7_API_KEYfor Context7.YOUR_WAKATIME_API_KEYfor the WakaTime LSP.
If you do not use one of those integrations, disable or remove that block instead of inventing a key.
Install from a clone
Prefer to read the files before running anything? Clone the repo and run the installer from the checkout:
git clone https://github.com/alok-mishra143/alok-zed-config.git
cd alok-zed-config
./install.sh
From a checkout you can also run ./install.sh --only settings, or the matching PowerShell flags on Windows: install.ps1 -Only keymap,theme and install.ps1 -Yes. The script supports --dry-run to print every step without touching your config, and --help for all options.
Uninstall
- Delete
keymap.jsonandthemes/aura-dark-custom.jsonfrom your Zed config folder. - Restore the newest
settings.json.backup-*,keymap.json.backup-*, andaura-dark-custom.json.backup-*files next to them, if you want the old config back. - Restart Zed and pick another theme from the theme selector.