Lapce — Lightning-Fast Code Editor Written in Rust
Lapce is a high-performance code editor written in Rust with a native GUI. It features modal editing (Vim-like), remote development via SSH, built-in terminal, LSP support, and a plugin system powered by WASI — all with sub-millisecond rendering.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install 81dc34c6-3745-11f1-9bc6-00163e2b0d79 --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
Lapce is an open-source code editor written in Rust that prioritizes performance above all else. It uses GPU-accelerated rendering via wgpu to achieve sub-millisecond frame times and startup speeds that Electron-based editors cannot match. Lapce brings Vim-style modal editing into a modern GUI with first-class LSP support.
The editor targets developers who want the speed of terminal editors like Neovim with the visual polish of VS Code. It includes syntax highlighting via Tree-sitter, an integrated terminal, remote development over SSH, and a plugin system powered by WASI.
How it saves time or tokens
Lapce eliminates the lag that slows down editing in large codebases. GPU rendering means scrolling, searching, and navigating remain smooth regardless of file size. The modal editing system reduces keystrokes for common operations, and the built-in remote development support lets you edit files on remote servers without configuring separate SSH tools.
The WASI-based plugin system runs extensions in a sandboxed WebAssembly runtime, so plugins cannot crash the editor or introduce security vulnerabilities -- a common pain point with VS Code extensions.
How to use
- Install Lapce:
brew install --cask lapceon macOS,flatpak install dev.lapce.lapceon Linux, or download from lapce.dev. - Open a project directory. Lapce auto-detects language servers for syntax intelligence.
- Use Vim keybindings by default (h/j/k/l navigation, i for insert mode) or switch to a standard keybinding mode in settings.
Example
# Install on macOS
brew install --cask lapce
# Install on Linux via Flatpak
flatpak install dev.lapce.lapce
# Open a project
lapce ~/my-project
# Remote development via SSH
# Use the remote connection panel in Lapce to connect to a server
# Edit files directly on the remote machine with local UI performance
Related on TokRepo
- AI coding tools -- editors and IDE tools for AI-assisted development
- Automation tools -- developer productivity utilities
Common pitfalls
- Lapce is under active development and some features available in VS Code or Neovim may not yet have equivalents; check the plugin registry before switching full-time.
- GPU rendering requires a compatible graphics driver; on headless servers or minimal VMs, Lapce may not start without a display server.
- The WASI plugin ecosystem is smaller than VS Code's marketplace; evaluate whether your essential extensions are available before migrating.
Preguntas frecuentes
Lapce is significantly faster than VS Code due to native Rust code and GPU rendering versus VS Code's Electron-based architecture. However, VS Code has a much larger extension ecosystem. Lapce is best for developers who prioritize speed and use Vim keybindings.
Yes. Vim-style modal editing is a first-class feature and enabled by default. You get normal, insert, visual, and command modes with standard Vim motions and keybindings built into the editor core.
Yes. Lapce includes built-in remote development over SSH. The editor runs its UI locally with GPU acceleration while executing language servers and file operations on the remote machine.
Lapce plugins run as WebAssembly modules in a WASI sandbox. This means plugins are cross-platform by default and cannot crash the editor or access system resources outside their sandbox, providing better security than traditional extension models.
Lapce supports any language that has a Language Server Protocol (LSP) implementation. Tree-sitter provides syntax highlighting for most popular languages out of the box, and additional language support can be added via plugins.
Referencias (3)
- Lapce GitHub— Lapce is a code editor written in Rust with GPU-accelerated rendering
- Lapce Documentation— Uses wgpu for GPU rendering and Tree-sitter for syntax highlighting
- WASI— WASI specification for WebAssembly system interface
Relacionados en TokRepo
Discusión
Activos relacionados
Lightning CSS — Blazing-Fast CSS Parser and Minifier in Rust
An extremely fast CSS parser, transformer, bundler, and minifier written in Rust, designed to replace PostCSS and Autoprefixer with a single tool.
GitUI — Blazing-Fast Terminal UI for Git Written in Rust
GitUI brings a Rust-fast terminal interface to Git: browse commits, stage hunks, view diffs, manage branches, and resolve conflicts — all without leaving the keyboard. A great complement (or alternative) to lazygit.
Notepad++ — Powerful Free Source Code Editor for Windows
Notepad++ is a free, open-source text and source code editor for Windows. Built on the Scintilla editing component, it supports syntax highlighting for over 80 languages, macro recording, and a rich plugin ecosystem.
Yazi — Blazing Fast Terminal File Manager in Rust
Yazi is a blazing fast terminal file manager written in Rust, based on async I/O. Preview images and videos in terminal, fuzzy search, batch operations, plugin system, and seamless integration with tools like fzf, zoxide, and rg.