本地阅读依赖 Docker 与 docker compose,需先安装;启动后需手动打开 http://localhost:8080 阅读;内容为 CC BY-NC-SA 4.0 许可,商用受限
Learn-Vim
iggredible活跃维护一本从入门到进阶系统讲解 Vim 与 Vimscript 的开源教程书,帮你摆脱死记命令,真正把 Vim 用成顺手的编辑器。
Learning Vim and Vimscript doesn't have to be hard. This is the guide that you're looking for 📖
docker compose -f book/docker-compose.yml up --buildREADME 未说明;本地阅读需 Docker 环境,浏览器访问 localhost:8080
一本介于 vimtutor 和 help 手册之间的 Vim 与 Vimscript 进阶指南
一本从入门到进阶系统讲解 Vim 与 Vimscript 的开源教程书,帮你摆脱死记命令,真正把 Vim 用成顺手的编辑器。
核心能力
- 按从基础到高级的顺序讲解 Vim 核心功能
- 覆盖缓冲区、窗口、宏、寄存器、搜索替换等主题
- 包含 Vimrc、插件包与运行时等定制内容
- 第三部分系统讲解 Vimscript 语法与插件编写
- 提供中文和西班牙语社区翻译链接
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Learn Vim (the Smart Way)
What's This?
Learn Vim (the Smart Way) is a guide to learn the good parts of Vim.
There are many places to learn Vim: the vimtutor is a great place to start and the help manual has all the references you will ever need. However, the average user needs something more than vimtutor and less than the help manual. This guide attempts to bridge that gap by highlighting only the key features to learn the most useful parts of Vim in the least amount of time possible.
This guide is written for both beginner and advanced Vimmers. It starts out with broad and simple concepts and ends with specific and advanced concepts. If you're an advanced user already, I encourage you to read this guide from start to finish anyway, because you may learn something new!
Read Locally (with Docker)
You can read this book locally with Docker. Just run:
docker compose -f book/docker-compose.yml up --build
Then open http://localhost:8080.
I Want More Vim Tips!
I sometimes blog about Vim on my personal site, irian.to.
Follow @learnvim for updates, Vim tips, etc.
Support This Project
This guide is and will always be free.
If you want to financially support this project, you can either purchase this guide on Leanpub or buy me a coffee!
Table Of Contents
Prologue
Part 1: Learn Vim the Smart Way
- Ch 1 - Starting Vim
- Ch 2 - Buffers, Windows, and Tabs
- Ch 3 - Opening and Searching Files
- Ch 4 - Vim Grammar
- Ch 5 - Moving in a File
- Ch 6 - Insert Mode
- Ch 7 - The Dot command
- Ch 8 - Registers
- Ch 9 - Macros
- Ch 10 - Undo
- Ch 11 - Visual Mode
- Ch 12 - Search and Substitute
- Ch 13 - The Global Command
- Ch 14 - External Commands
- Ch 15 - Command-line Mode
- Ch 16 - Tags
- Ch 17 - Fold
- Ch 18 - Git
- Ch 19 - Compile
- Ch 20 - Views, Sessions, and Viminfo
- Ch 21 - Multiple File Operations
Part 2: Customize Vim the Smart Way
Part 3: Learn Vimscript the Smart Way
- Ch 25 - Vimscript Basic Data Types
- Ch 26 - Vimscript Conditionals And Loops
- Ch 27 - Vimscript Variable Scopes
- Ch 28 - Vimscript Functions
- Ch 29 - Plugin Example: Writing a Titlecase Plugin
Translations
- Learn-Vim 中文翻译(
zh-CN) - Learn-Vim Spanish(
es)
License & Copyright
The materials here are all © 2020-2021 Igor Irianto.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.