# Nvim

> แนวทางการใช้งาน Neovim - Modern, extensible text editor ที่พัฒนาจาก Vim

- Skill: `newkub/nvim` (Agent Skill, multi-file: 32 files)
- Install (CLI): `npx skillmds@latest add newkub/nvim`
- Raw SKILL.md: https://api.skillmd.com/api/skills/newkub/nvim/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: newkub (https://skillmd.com/u/newkub)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/newkub/nvim

---

## Goal

ใช้งาน Neovim สำหรับ text editing ที่ highly customizable


## Scope

ใช้สำหรับ text editor ที่ highly customizable, modal editing สำหรับ efficiency, built-in terminal และ LSP support, Lua plugin system, และ remote development


## Execute

### 1. Installation

ติดตั้ง Neovim ตาม `workflows/install-neovim.md`

### 2. Configuration

ตั้งค่า Neovim ตาม `workflows/configure-neovim.md`

### 3. Installation Guide

อ่าน `guide/installation.md` สำหรับวิธีติดตั้ง

### 4. Configuration Guide

อ่าน `guide/configuration.md` สำหรับการตั้งค่า

### 5. Best Practices

อ่าน `guide/best-practices.md` สำหรับ best practices

### 6. Features

อ่าน `guide/features.md` สำหรับ features ที่มี

### 7. How It Works

อ่าน `guide/how-it-works.md` สำหรับวิธีการทำงาน

### 8. LSP Guide

อ่าน `guide/lsp.md` สำหรับการใช้งาน LSP (Language Server Protocol)

### 9. Treesitter Guide

อ่าน `guide/treesitter.md` สำหรับการใช้งาน Treesitter สำหรับ syntax highlighting

### 10. Diagnostics Guide

อ่าน `guide/diagnostics.md` สำหรับการใช้งาน Diagnostic System

### 11. Autocommands Guide

อ่าน `guide/autocommands.md` สำหรับการใช้งาน Autocommands และ Events

### 12. Terminal Guide

อ่าน `guide/terminal.md` สำหรับการใช้งาน Terminal Emulator

### 13. Buffer and Window Guide

อ่าน `guide/buffer-window.md` สำหรับการจัดการ Buffers และ Windows

### 14. Modal Editing

อ่าน `key-concepts/modal-editing.md` สำหรับ modal editing

### 15. Macros

อ่าน `key-concepts/macros.md` สำหรับ macros

### 16. Registers

อ่าน `key-concepts/registers.md` สำหรับ registers

### 17. Extmarks

อ่าน `key-concepts/extmarks.md` สำหรับ Extmarks และ Decorations

### 18. Completion

อ่าน `key-concepts/completion.md` สำหรับ Completion System

### 19. Quickfix

อ่าน `key-concepts/quickfix.md` สำหรับ Quickfix และ Location Lists

### 20. Key Mappings

อ่าน `principles/key-mappings.md` สำหรับ key mappings

### 21. Plugin Management

อ่าน `principles/plugin-management.md` สำหรับ plugin management

### 22. Performance Principles

อ่าน `principles/performance.md` สำหรับหลักการปรับปรุง Performance

### 23. Extensibility Principles

อ่าน `principles/extensibility.md` สำหรับหลักการขยายความสามารถ

### 24. Remote Development Principles

อ่าน `principles/remote-development.md` สำหรับหลักการ Remote Development

### 25. Lua API

อ่าน `references/api.md` สำหรับ Lua API

### 26. CLI Commands

อ่าน `references/cli.md` สำหรับ CLI commands

### 27. Configuration Options

อ่าน `references/configuration.md` สำหรับ configuration options

### 28. RPC API

อ่าน `references/rpc-api.md` สำหรับ RPC API และ Remote Plugins

### 29. Built-in Functions

อ่าน `references/built-in-functions.md` สำหรับ Built-in Functions

### 30. Expression Evaluation

อ่าน `references/expression-evaluation.md` สำหรับ Expression Evaluation Engine

### 31. Official Website

อ่าน `references/website.md` สำหรับ official website


## Rules

- ใช้ modal editing สำหรับ efficiency
- ใช้ Lua สำหรับ configuration
- ใช้ LSP สำหรับ language support
- ใช้ Treesitter สำหรับ syntax highlighting
- ใช้ backticks สำหรับ commands
- ใช้ code blocks สำหรับ examples
- ใช้ ansi markdown diagrams สำหรับ flow และ architecture


## Expected Outcome

- Text editor ที่ highly customizable
- Modal editing ที่ efficient
- Built-in terminal และ LSP support
- Lua plugin system ที่ modern
- Remote development ที่ seamless

