zed-101-setup  by jellydn

Editor configuration for Zed, tailored for Vim enthusiasts

created 1 year ago
918 stars

Top 39.6% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a comprehensive setup guide for the Zed code editor, targeting developers who want to enhance their workflow with Vim emulation, custom settings, and keybindings. It aims to deliver a seamless and productive coding experience by pre-configuring features like Nerd Fonts, AI assistance, and optimized UI elements.

How It Works

The setup involves applying a detailed settings.json and keymap.json to Zed. The settings.json configures aspects like the Git panel, icon themes, AI providers (Copilot Chat or local Ollama), font choices, indentation guides, and file scan exclusions. The keymap.json defines extensive Vim-like keybindings for navigation, Git operations, buffer management, code actions, and terminal interaction, aiming to replicate familiar Vim workflows within Zed.

Quick Start & Requirements

  • Install Zed: Download from zed.dev.
  • Install Nerd Font: curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash
  • Configure Zed: Copy provided settings.json and keymap.json into Zed's configuration directory.
  • Optional AI Setup: Follow Ollama Setup Guide for local AI.

Highlighted Details

  • Full Vim mode emulation with sneak and relative line numbers.
  • Integrated AI assistance with support for Copilot Chat and local Ollama models.
  • Extensive keybindings for Git, buffer management, and code navigation.
  • Pre-configured LSP settings for Tailwind CSS and Python (Ruff, Pyright).
  • Customization for file type highlighting and scan exclusions.

Maintenance & Community

The project is maintained by Huynh Duc Dung (@jellydn) and acknowledges contributors via the all-contributors specification. Support is encouraged via GitHub stars.

Licensing & Compatibility

The repository itself does not specify a license for the provided configuration files. Zed Editor is licensed under the MIT License.

Limitations & Caveats

Some keybindings are marked as "TODO" or have noted issues, such as Zen mode functionality and Git diff navigation, indicating ongoing development or pending upstream fixes in Zed.

Health Check
Last commit

2 days ago

Responsiveness

1 day

Pull Requests (30d)
6
Issues (30d)
0
Star History
36 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.7%
16k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
created 1 year ago
updated 2 days ago
Starred by Jeffrey Morgan Jeffrey Morgan(Cofounder of Ollama), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
17 more.

codex by openai

6.9%
35k
Coding agent CLI tool for terminal-based chat-driven development
created 4 months ago
updated 1 day ago
Feedback? Help us improve.