An open API service indexing awesome lists of open source software.

https://github.com/ind4skylivey/zed-ultimate-config

🚀 Complete professional Zed IDE configuration for PHP/Laravel,Python, Rust, and Security Research. 163+ snippets, 106 tasks, 31 keybindings.
https://github.com/ind4skylivey/zed-ultimate-config

cybersecurity developer-tools ide-config laravel malware-analysis open-source-ai-code openia penetration-testing php productivity python qwen red-team reverse-engineering rust snippets zed-config zed-editor

Last synced: 3 months ago
JSON representation

🚀 Complete professional Zed IDE configuration for PHP/Laravel,Python, Rust, and Security Research. 163+ snippets, 106 tasks, 31 keybindings.

Awesome Lists containing this project

README

          

image-16

# ⚡ Zed Ultimate Config

### 🚀 **AI Boost Power: Private, Local, Intelligent — No Cloud, No Leaks**

### *The most comprehensive Zed Editor configuration for developers, security researchers, and power users*

[![Stars](https://img.shields.io/github/stars/ind4skylivey/zed-ultimate-config?style=for-the-badge&logo=starship&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41)](https://github.com/ind4skylivey/zed-ultimate-config/stargazers)
[![Last Commit](https://img.shields.io/github/last-commit/ind4skylivey/zed-ultimate-config?style=for-the-badge&logo=github&color=F2CDCD&logoColor=D9E0EE&labelColor=302D41)](https://github.com/ind4skylivey/zed-ultimate-config/commits/main)
[![Issues](https://img.shields.io/github/issues/ind4skylivey/zed-ultimate-config?style=for-the-badge&logo=gitbook&color=B5E8E0&logoColor=D9E0EE&labelColor=302D41)](https://github.com/ind4skylivey/zed-ultimate-config/issues)
[![License](https://img.shields.io/github/license/ind4skylivey/zed-ultimate-config?style=for-the-badge&logo=unlicense&color=DDB6F2&logoColor=D9E0EE&labelColor=302D41)](LICENSE)

[![Zed](https://img.shields.io/badge/Zed-0.210.4+-blue?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjEgM0gzVjIxSDIxVjNaIiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg==)](https://zed.dev/)
[![PHP](https://img.shields.io/badge/PHP-777BB4?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/)
[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org/)
[![Rust](https://img.shields.io/badge/Rust-000000?style=for-the-badge&logo=rust&logoColor=white)](https://www.rust-lang.org/)

---

## 🎯 Why This Config?

### 🚀 **Productivity Unleashed**
- **130+ Custom Tasks** - One-click automation
- **40+ Keybindings** - Lightning-fast workflow
- **Smart Navigation** - Project panel, outline, quick finder
- **Multi-Language** - PHP/Laravel, Python, Rust, Bash support

### 🔒 **Security-First**
- **Binary Analysis** - hexdump, strings, objdump
- **Network Monitoring** - Port scanning, connections
- **Forensics Tools** - Hash generation, file analysis
- **Reverse Engineering** - GDB, radare2, Ghidra ready

### 🎨 **Beautiful Interface**
- **Catppuccin Theme** - Custom syntax colors
- **JetBrains Icons** - Crystal-clear visuals
- **Git Integration** - Visual diff, inline blame
- **Terminal Built-in** - Zsh with custom env

### ⚡ **Lightning Fast**
- **Smart Exclusions** - Faster searches
- **LSP Optimized** - Instant completions
- **Format on Save** - Auto-formatted code
- **Parallel Tasks** - Run multiple commands

---

## 📊 Configuration Stats

```
┌─────────────────────────────────────────────────────┐
│ 📦 Total Configuration: 3,800+ lines │
│ ⌨️ Custom Keybindings: 40+ shortcuts │
│ 📋 Automated Tasks: 130+ workflows │
│ 🤖 AI-Driven Tasks: 20+ intelligent operations │
│ 🌍 Language Support: 6 languages │
│ 🎨 Theme Customizations: 25+ syntax colors │
│ 🔧 LSP Servers: 4 configured + AI enhancement │
└─────────────────────────────────────────────────────┘
```

### 🏆 **From Good to ULTIMATE in Seconds**

---

## ✨ Highlights

🔥 130+ Custom Tasks - Complete Automation Suite


| Category | Tasks | Description |
|----------|-------|-------------|
| 🦀 **Rust** | 28 | Build, test, clippy, format, docs, cargo audit |
| 🐍 **Python** | 18 | Pytest, black, ruff, mypy, venv management |
| 🐘 **PHP/Laravel** | 35 | Artisan commands, migrations, testing, tinker |
| 🔒 **Security** | 25 | Binary analysis, network monitoring, forensics |
| 🤖 **AI Assistants** | 20+ | Local LLM (Ollama/Qwen), Coding agents (Droid), analysis, review, refactoring |
| 📦 **System** | 5 | Port monitoring, processes, disk, memory |
| 🌐 **Git** | 4 | Status, diff, log, visual graph |
| 🔧 **Composer** | 3 | Install, update, autoload |

🤖 AI Integration - Local LLMs + Coding Agents (Optional)


### 🧠 **Dual AI System - Privacy-First Intelligence**

This configuration supports **two complementary AI approaches**, both running locally:

1. **Local Language Models (Ollama)** - For code completion and inline suggestions
2. **Coding Agents (Droid)** - For complex multi-file operations and automation

#### 🔐 **Core Principles**
- **Local Processing**: All AI operations run on your machine
- **No Telemetry**: Zero data collection, no external API calls
- **Full Control**: You own the models and data
- **Offline-First**: Works completely without internet

---

### 1️⃣ **Local LLM Integration (Ollama + Qwen)**

**Purpose:** Real-time code completion, inline suggestions, documentation

#### Supported Models

| Model | Size | Context | Best For |
|-------|------|---------|----------|
| `qwen2.5-coder:14b` | 9GB | 32K | General coding, multi-language |
| `codellama:13b` | 7.3GB | 16K | Code completion, snippets |
| `deepseek-coder:6.7b` | 3.8GB | 16K | Lightweight, fast inference |
| `starcoder2:15b` | 9GB | 16K | Multi-language, security-aware |

#### Features

- **Context-Aware Completion**: Understands project structure
- **Smart Refactoring**: Code restructuring suggestions
- **Documentation**: Auto-generate docstrings and comments
- **Security Scanning**: Pattern-based vulnerability detection

#### Setup

```bash
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh

# Pull a coding model
ollama pull qwen2.5-coder:14b

# Configure in settings.json
"language_models": {
"ollama": {
"api_url": "http://localhost:11434",
"available_models": [
{
"name": "qwen2.5-coder:14b",
"max_tokens": 8192,
"context_length": 32000
}
]
}
}
```

---

### 2️⃣ **Coding Agents (Droid/Factory)**

**Purpose:** Multi-file operations, testing, debugging, autonomous tasks

#### Features

- **Code Review**: Analyze files for best practices and issues
- **Test Generation**: Auto-generate unit tests
- **Bug Fixing**: Automated error resolution
- **Refactoring**: Multi-file code restructuring
- **Documentation**: Generate comprehensive docs

#### Agent Modes

| Mode | Autonomy | Use Case |
|------|----------|----------|
| `readonly` | Low | Analysis and suggestions only |
| `medium` | Medium | Code changes with confirmation |
| `high` | High | Autonomous operations |

#### Setup

```bash
# Install Droid CLI (Factory.ai)
curl -fsSL https://factory.sh/install | sh

# Configure in settings.json
"agent_servers": {
"droid": {
"command": "droid",
"args": ["exec", "--auto", "medium"]
}
}
```

#### Task Examples

```bash
# Code analysis
droid "analyze this authentication system"

# Security review
droid exec --auto low "review for security issues"

# Fix and test
droid exec --auto medium "fix bugs and run tests"
```

---

### 🎯 **When to Use Each**

| Task | Tool | Reason |
|------|------|--------|
| Inline completion | **Ollama** | Fast, low latency |
| Code snippets | **Ollama** | Context-aware suggestions |
| Multi-file refactor | **Droid** | Understands project structure |
| Test generation | **Droid** | Can run and verify tests |
| Security audit | **Both** | Ollama for patterns, Droid for execution |
| Documentation | **Both** | Ollama for inline, Droid for full docs |

---

### 📊 **Performance Considerations**

**Hardware Requirements:**
- **CPU-Only**: 8GB+ RAM, modern x86_64 processor
- **With GPU**: NVIDIA/AMD GPU with 8GB+ VRAM for 3-5x speedup
- **Storage**: 5-15GB per model

**Inference Speed:**
- **Ollama**: 20-150ms per token (hardware-dependent)
- **Droid**: 1-30 seconds (depends on task complexity)

---

### 🔒 **Privacy & Security**

```
✅ All processing happens locally
✅ No external API calls or data transmission
✅ Models stored locally
✅ No telemetry or analytics
✅ GDPR/HIPAA compliant by design
```

---

### 🎓 **Pre-configured Tasks**

#### Ollama Tasks
- Inline completion and suggestions (automatic)
- Documentation generation
- Code explanation
- Error diagnosis

#### Droid Tasks (7 tasks)
- `droid/analyze` - File analysis with insights
- `droid/review` - Code review and best practices
- `droid/fix` - Fix issues and improve code
- `droid/test` - Run tests and fix failures
- `droid/docs` - Generate documentation
- `droid/refactor` - Improve code quality
- `droid/interactive` - Interactive AI session

#### Keybindings

| Keybinding | Task | Description |
|------------|------|-------------|
| `Cmd+Shift+D` | droid/analyze | Analyze current file |
| `Cmd+Alt+D` | droid/review | Review code |
| `Cmd+Ctrl+D` | droid/fix | Fix issues |

---

### 📦 **Optional Setup**

Both AI systems are **completely optional**. The configuration works perfectly without them:

- **Without Ollama**: Standard LSP-based completion
- **Without Droid**: Manual task execution

To disable AI features, comment out `language_models` and `agent_servers` sections in `settings.json`.

---

### 📚 **Resources**

**Ollama:**
- Installation: https://ollama.ai
- Model Library: https://ollama.ai/library
- Documentation: https://github.com/ollama/ollama

**Droid/Factory:**
- Installation: https://factory.sh
- Documentation: https://docs.factory.ai
- CLI Guide: https://docs.factory.ai/cli

⌨️ 40+ Smart Keybindings - Muscle Memory Friendly


#### 🎯 Essential Editor Commands
```
Cmd+P → Quick File Finder
Cmd+Shift+O → Toggle Code Outline
Cmd+/ → Toggle Comments
Alt+Up/Down → Move Lines
F12 → Go to Definition
Cmd+K Cmd+I → Show Documentation
```

#### 🐍 Python Development
```
Cmd+R → Run Current File
Cmd+Shift+Y → Run All Tests
Cmd+Ctrl+L → Lint with Ruff
Cmd+Ctrl+F → Format with Black
```

#### 🦀 Rust Development
```
Cmd+Alt+R → Cargo Run
Cmd+Shift+B → Cargo Build
Cmd+Ctrl+C → Clippy Check
Cmd+Alt+O → Open Docs
```

#### 🔒 Security & Analysis
```
Cmd+Shift+H → Hexdump View
Cmd+Shift+X → Extract Strings
Cmd+Alt+H → Generate All Hashes
Cmd+Shift+L → List Listening Ports
```

🎨 Theme & Customization - Catppuccin Iced Latte


**Custom Syntax Colors:**
- 🟣 **Keywords**: Dark purple (`#9400D3`)
- 🔴 **Control Flow**: Red (`#D91E18`)
- 🟢 **Strings**: Dark green (`#006600`)
- 🔵 **Functions**: Blue (`#2B4F8C`)
- 🟠 **Constants**: Orange (`#A85D00`)
- 🟤 **Types**: Brown (`#6B4D11`)

**Visual Features:**
- ✨ Transparent background
- 📊 Git diff in scrollbar
- 🎯 Inline git blame
- 📁 File icons everywhere
- 🌳 Code outline panel

🛠️ Language Support - 6 Languages Ready


| Language | LSP | Formatter | Linter | Features |
|----------|-----|-----------|--------|----------|
| **PHP** | ✅ Intelephense | php-cs-fixer | ✅ | Laravel integration, 30 tasks |
| **Python** | ✅ pylsp | Black | Ruff, Mypy | Pytest, coverage, 15 tasks |
| **Rust** | ✅ rust-analyzer | rustfmt | Clippy | Full cargo integration, 25 tasks |
| **Bash/Shell** | ✅ | shfmt | shellcheck | 2-space indent, auto-format |
| **JSON** | ✅ | Built-in | ✅ | Schema validation |
| **Markdown** | ✅ | Prettier | ✅ | Live preview ready |

---

## 🚀 Quick Start

### One-Line Install (SSH)

```bash
# Backup, clone via SSH, and install in one command
cp -r ~/.config/zed ~/.config/zed.backup && \
git clone git@github.com:ind4skylivey/zed-ultimate-config.git /tmp/zed-config && \
cp /tmp/zed-config/config/*.json ~/.config/zed/ && \
sed -i "s|/home/YOUR_USERNAME|$HOME|g" ~/.config/zed/settings.json && \
echo "✅ Zed Ultimate Config with AI Boost installed! Restart Zed."
```

### Prerequisites (Optional but Recommended)

```bash
# Install formatters for best experience
sudo pacman -S shfmt # Bash/Shell
pip install black ruff mypy pytest # Python
composer global require php-cs-fixer # PHP
rustup component add clippy rustfmt # Rust

# Optional: Install local AI runtime (for AI Boost Power)
# See AI_SETUP.md for model config and integration guide (coming soon)
curl -fsSL https://ollama.ai/install.sh | sh # Recommended: Ollama
ollama pull codellama:13b # Download AI model
```

---

## 📖 Documentation

| Document | Description |
|----------|-------------|
| 📘 [**Installation Guide**](#-quick-start) | Get started in 60 seconds |
| ⌨️ [**Keybindings Reference**](docs/KEYBINDINGS.md) | Complete shortcut guide |
| 📋 [**Tasks Catalog**](docs/TASKS.md) | All 116 tasks explained |
| 🎨 [**Customization**](docs/CUSTOMIZATION.md) | Make it yours |
| 🐛 [**Troubleshooting**](docs/TROUBLESHOOTING.md) | Common issues solved |
| 📝 [**Changelog**](CHANGELOG_2025-11-02.md) | What's new in v2.0 |

---

## 🎯 Perfect For

### 👨‍💻
**Full-Stack Developers**

PHP, Python, Rust

All in one editor

### 🔒
**Security Researchers**

Binary analysis

Network forensics

### 🛡️
**Pentesters**

Reverse engineering

Exploit development

### ⚙️
**DevOps Engineers**

Shell scripting

System automation

---

## 🌟 Features Breakdown

### 🎨 **Editor Experience**
```yaml
Theme: Catppuccin Iced Latte (Blur)
Icons: JetBrains Icons Light
Fonts:
- UI: Hack
- Code: MesloLGL Nerd Font
Terminal: Zsh with custom environment
Git: Visual diff, inline blame, hunk actions
```

### ⚡ **Productivity Tools**
```yaml
Navigation:
- Project Panel (280px, left)
- Outline Panel (300px, right)
- Quick File Finder (Cmd+P)
- Multi-cursor (Alt-click)

Automation:
- Format on Save
- Auto-save (500ms delay)
- Linked Symbol Editing
- Smart Completions
```

### 🔧 **Development Workflow**
```yaml
Languages:
PHP: Intelephense + php-cs-fixer + 30 Laravel tasks
Python: Black + Ruff + Mypy + Pytest integration
Rust: rust-analyzer + Clippy + Full cargo suite
Bash: shfmt formatter + syntax highlighting

Testing:
- One-click test execution
- Coverage reports
- Parallel testing support
- Watch mode ready
```

---

## 🏗️ Configuration Structure

```
~/.config/zed/
├── settings.json # 📝 Core configuration (448 lines)
│ ├── Theme & appearance
│ ├── Editor behavior
│ ├── AI/Agent integration
│ ├── Terminal settings
│ ├── Git configuration
│ └── Language-specific settings

├── keymap.json # ⌨️ Custom shortcuts (57 lines)
│ ├── Editor commands
│ ├── Workspace navigation
│ ├── Development tasks
│ └── Security tools

└── tasks.json # 📋 Automated workflows (955 lines)
├── Rust tasks (25)
├── Python tasks (15)
├── PHP/Laravel tasks (30)
├── Security tasks (25)
├── Git operations (4)
└── System monitoring (5)
```

---

## 🎓 Learning Resources

### 📚 **Master Your Workflow**

| Resource | Description |
|----------|-------------|
| 🎬 [Video Tutorials](docs/TUTORIALS.md) | Step-by-step guides *(coming soon)* |
| 📖 [Best Practices](docs/BEST_PRACTICES.md) | Pro tips and tricks |
| 💡 [Tips & Tricks](docs/TIPS.md) | Hidden gems |
| 🤝 [Community Configs](docs/COMMUNITY.md) | User-submitted configs |

---

## 🤝 Contributing

We love contributions! Here's how you can help:

### 🐛 Report Bugs
Found an issue?

[Open an issue](https://github.com/ind4skylivey/zed-ultimate-config/issues)

### ✨ Suggest Features
Have an idea?

[Start a discussion](https://github.com/ind4skylivey/zed-ultimate-config/discussions)

### 🔧 Submit PRs
Improve the config

[Contributing Guide](CONTRIBUTING.md)

---

## 📈 Roadmap

- [ ] 🎬 Video tutorials and demos
- [ ] 🐳 Docker/Kubernetes task integration
- [ ] 🌐 Remote SSH editing configuration
- [ ] 📊 Database viewer integration
- [ ] 🔌 REST Client setup
- [ ] 🎨 More theme variants
- [ ] 🌍 Multi-language documentation

---

## 💬 Community

[![Discussions](https://img.shields.io/badge/GitHub-Discussions-181717?style=for-the-badge&logo=github)](https://github.com/ind4skylivey/zed-ultimate-config/discussions)
[![Discord](https://img.shields.io/badge/Zed-Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/zed)
[![Twitter](https://img.shields.io/badge/Follow-@ind4skylivey-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/ind4skylivey)

**Share your experience with** `#ZedUltimateConfig`

---

## ⭐ Show Your Support

If this config boosted your productivity, please consider:

- ⭐ **Star this repository**
- 🔄 **Share with your team**
- 🐛 **Report issues**
- 💡 **Suggest improvements**
- 📢 **Spread the word**

### ⚡ **Made with ❤️ for developers who value speed and efficiency**

---

## 📜 License

This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.

---

## 🙏 Acknowledgments

- **[Zed Team](https://zed.dev/)** - For creating an amazing editor
- **[Catppuccin](https://github.com/catppuccin)** - Beautiful color scheme
- **[JetBrains](https://www.jetbrains.com/)** - Icon theme
- **Community Contributors** - For feedback and improvements

---

### 🚀 **Ready to transform your Zed experience?**

```bash
git clone https://github.com/ind4skylivey/zed-ultimate-config.git
```

**[Get Started Now →](#-quick-start)**

---

**Star ⭐ | Fork 🔱 | Share 📢**

Made by [@ind4skylivey](https://github.com/ind4skylivey) | [Report Issues](https://github.com/ind4skylivey/zed-ultimate-config/issues) | [Discussions](https://github.com/ind4skylivey/zed-ultimate-config/discussions)