搜索

PythonReactSEOPDF
GitHub Skill

neovim

Neovim modern Vim fork with Lua plugins and LSP. Use for extensible terminal editing.

G1Joshi☆ 5 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Neovim

Neovim is the future of Vim. v0.11 (2025) brings built-in completion, enhanced LSP, and mature Tree-sitter integration.

When to Use

  • Keyboard Centric: You never want to touch the mouse.
  • Speed: You want an editor that starts in 20ms.
  • Customization: You want to build your own editor using Lua.

Core Concepts

Lua Config (init.lua)

Configuration is code. Modules, loops, conditionals. vim.opt.number = true

LSP (Language Server Protocol)

Built-in client. Connects to pyright, tsserver, rust-analyzer natively.

Tree-sitter

Parsing library for syntax highlighting. Understanding code structure (AST), not just Regex.

Best Practices (2025)

Do:

  • Use a Distro (Optional): LazyVim, AstroNvim, or NvChad are great starting points for 2025.
  • Use lazy.nvim: The standard plugin manager.
  • Use Built-ins: v0.11 has many features (commenting, diagnostics) that used to need plugins. Check :help news.

Don't:

  • Don't copy huge configs: Understand every line you add to init.lua.

References

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!