Skip to content
0x051CPublic

About

my *editor config, * - for last letter of the alphabet.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zed config

My Zed setup: vim mode with LazyVim-style keybindings, Claude Code in the agent panel, and lazygit in a tab.

File What it does
keymap.json LazyVim keybindings on top of Zed's vim mode. Space is the leader key.
settings.json Vim behaviour (relative numbers, smartcase, scrolloff 4, which-key popup), panel layout, fonts, theme, agents.
tasks.json lazygit tasks used by <leader>gg / <leader>gG.

Install

git clone https://github.com/0x051C/ed-config.git ~/.config/zed

Zed reloads these files as soon as they change. Needs lazygit on your PATH for the git keys.

Keys

Zed's vim mode already covers most LazyVim keys (gd, gy, K, gcc, ]d, ]b, ctrl-a/ctrl-x, ctrl-w ...). The keymap adds the rest. Press space and wait for the which-key popup, or open the keymap editor with space s k.

Keys Action
space space, space f f Find files
space /, space s g Search in project (space s r search and replace, space s t TODOs)
space e Focus the file tree (space E shows or hides it)
space ,, H / L Switch between open files
ctrl-h/j/k/l Move between splits, panels and the terminal
s / S Jump to a labelled word (like flash.nvim) / select the enclosing syntax node
gsa / gsd / gsr Add / delete / replace surrounding characters (like mini.surround)
space c a, space c r, space c f Code actions, rename, format
]e [e, ]w [w, ]h [h Next / previous error, warning, git hunk
space g g lazygit in a tab
space d b, space d c Toggle breakpoint, run or continue debugging
ctrl-/ Toggle the terminal

Agents (space a, following LazyVim's Claude Code extra)

Keys Action
space a c / space a f Toggle / focus the agent panel
space a n New Claude Code thread (claude-acp)
space a N New thread with Zed's own agent
space a r Thread history
space a s (visual) / space a b Send the selection / the whole file to the agent
space a a / space a d Accept / reject all agent edits
space a i Inline assist

In the agent prompt, ctrl-c leaves insert mode (a Zed vim default).

About

my *editor config, * - for last letter of the alphabet.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors