Zed is my favorite editor. I use vim mode with Zed editor, it's super fast and efficient. Here are some of the Zed Commands and Zed Shortcuts that I use frequently to enhance my productivity.
You can read my blog post if you want to know why Zed is my primary editor.
Last updated on April 10, 2025
You can navigate the project using vim keys(j, k, l, h)
:10 will take you to line 10
Scrolls and moves the cursor
Scrolls and moves the cursor
View the structure of the current file
Search for a file in the project
Open the project search UI to search for recently opened projects and open them in the current window(enter) or a new window (cmd+enter)
Move the cursor to the end of the line
Move the cursor to the top of the file
Move the cursor to the bottom of the file
Rename the variable or function under the cursor
Undo the last change
Redo the last undone change. Opposite of undo.
Move to end of line and enter edit mode
Move to start of line and enter edit mode
Enter edit mode at the current cursor position
Add a new line below the current line
Add a new line above the current line
Close or open a code fold
This opens all the folds in the file
Very useful when you want to have a quick overview of the file
I usually keep everything on the right
Enter fullscreen mode, this works for files, terminal, AI assistant and Git text input
Open the assistant panel to chat with the assistant
Hover over a word to see its definition
Jump to the definition of the word under the cursor
Quicky loop through errors
Quicky loop through errors
Add a new terminal to the terminal panel
To toggle the terminal panel
You can use vim navigation keys to navigate through the git panel
When focused on commit message in Git Panel, let AI generate a commit message
fetch changes from remote
pull changes from remote
push changes to remote
forcepush changes to remote
show all changes
stage all changes
stage all changes
unstage all changes
Generate code suggestions inline, it works even in Assistant panel and Terminal
Send message to the assistant
AI will suggest edits to your code. You must have at least one file attached for it to work.
Define tasks in .zed/tasks.json
When focus is on the project, show the file in finder