Skip to content

learnbyexample/vim_reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Reference Guide

Vim Reference Guide is intended as a concise learning resource for beginner to intermediate level Vim users. It has more in common with cheatsheets than a typical text book. Topics like Regular Expressions and Macros have more detailed explanations and examples due to their complexity. Visit https://youtu.be/4ybTvTr3SQc for a short video about the book.

Vim Reference Guide ebook cover image

See Version_changes.md to keep track of changes made to the book.

📹 Visit this playlist for video demos on most of the topics from the ebook.

info See also my curated list on Vim for beginner to advanced level learning resources.


E-book

For a preview of the book, see sample chapters.

The book can also be viewed as a single markdown file in this repo. See my blogpost on generating pdfs from markdown using pandoc if you are interested in the ebook creation process.

For web version of the book, visit https://learnbyexample.github.io/vim_reference/


Testimonials

Got several suggestions and feedback when my submission about this book reached the front page of Hacker News.

Great job on this! — rendall

Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable. — doix

Neat stuff! One piece of feedback is that I would include "+p and "+yy in the copy and paste section. — mrpotato

I learnt regular expression by reading your books, thank you for the great work. — LamJH

A comment from another Hacker News thread:

I stumbled upon your vi post a few days ago, really like the style. Keep it up!


Feedback

⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

You can reach me via:


Table of Contents

  1. Preface
  2. Introduction
  3. Insert mode
  4. Normal mode
  5. Command-line mode
  6. Visual mode
  7. Regular Expressions
  8. Macro
  9. Customizing Vim
  10. CLI options

Acknowledgements


License

The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

The code snippets are licensed under MIT, see LICENSE file.

About

:q Vim Reference Guide for beginner to intermediate level users

Topics

Resources

License

Stars

Watchers

Forks