{"id":14128383,"url":"https://github.com/learnbyexample/vim_reference","last_synced_at":"2025-04-06T00:08:44.459Z","repository":{"id":37444376,"uuid":"59112084","full_name":"learnbyexample/vim_reference","owner":"learnbyexample","description":":q   Vim Reference Guide for beginner to intermediate level users","archived":false,"fork":false,"pushed_at":"2024-08-20T05:27:50.000Z","size":5941,"stargazers_count":354,"open_issues_count":0,"forks_count":40,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-29T20:07:15.393Z","etag":null,"topics":["ebook","vim"],"latest_commit_sha":null,"homepage":"https://learnbyexample.github.io/vim_reference/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/learnbyexample.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-18T12:08:23.000Z","updated_at":"2024-10-26T12:14:18.000Z","dependencies_parsed_at":"2024-05-02T01:54:07.691Z","dependency_job_id":"655013bf-b38a-476b-8fa9-7af2b3d09b85","html_url":"https://github.com/learnbyexample/vim_reference","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.05128205128205132,"last_synced_commit":"1365736bc202884b93e9bb1e21269cf96216e953"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2Fvim_reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2Fvim_reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2Fvim_reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2Fvim_reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/learnbyexample","download_url":"https://codeload.github.com/learnbyexample/vim_reference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415967,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebook","vim"],"created_at":"2024-08-15T16:01:39.457Z","updated_at":"2025-04-06T00:08:44.436Z","avatar_url":"https://github.com/learnbyexample.png","language":null,"readme":"# Vim Reference Guide\n\n**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.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./images/vim_reference_guide_ls.png\" alt=\"Vim Reference Guide ebook cover image\" /\u003e\u003c/p\u003e\n\nSee [Version_changes.md](./Version_changes.md) to keep track of changes made to the book.\n\n📹 Visit [this playlist](https://www.youtube.com/playlist?list=PLTv2U3HnAL4NN2tK-59ZiNBm-o64-Yvos) for video demos on most of the topics from the ebook.\n\n![info](./images/info.svg) See also my [curated list on Vim](https://learnbyexample.github.io/curated_resources/vim.html) for beginner to advanced level learning resources.\n\n\u003cbr\u003e\n\n# E-book\n\n* You can purchase the pdf/epub versions of the book using these links:\n   * https://learnbyexample.gumroad.com/l/vim_reference_guide\n   * https://leanpub.com/vim_reference_guide\n* You can also get the book as part of these bundles:\n   * **Awesome Regex** bundle from https://leanpub.com/b/regex or https://learnbyexample.gumroad.com/l/regex\n   * **All books bundle** from https://learnbyexample.gumroad.com/l/all-books\n        * Includes all my programming books\n* See https://learnbyexample.github.io/books/ for a list of other books\n\nFor a preview of the book, see [sample chapters](./sample_chapters/vim_reference_guide_sample.pdf).\n\nThe book can also be [viewed as a single markdown file in this repo](./vim_reference_guide.md). See my blogpost on [generating pdfs from markdown using pandoc](https://learnbyexample.github.io/customizing-pandoc/) if you are interested in the ebook creation process.\n\nFor web version of the book, visit https://learnbyexample.github.io/vim_reference/\n\n\u003cbr\u003e\n\n# Testimonials\n\nGot several suggestions and feedback when [my submission about this book](https://news.ycombinator.com/item?id=30684232) reached the front page of Hacker News.\n\n\u003eGreat job on this! — rendall\n\u003e\n\u003eHi, 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\n\u003e\n\u003eNeat stuff! One piece of feedback is that I would include \"+p and \"+yy in the copy and paste section. — mrpotato\n\u003e\n\u003eI learnt regular expression by reading your books, thank you for the great work. — LamJH\n\nA comment from another [Hacker News thread](https://news.ycombinator.com/item?id=31931804):\n\n\u003eI stumbled upon your vi post a few days ago, really like the style. Keep it up!\n\n\u003cbr\u003e\n\n# Feedback\n\n⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.\n\nI 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.\n\nYou can reach me via:\n\n* Issue Manager: [https://github.com/learnbyexample/vim_reference/issues](https://github.com/learnbyexample/vim_reference/issues)\n* E-mail: `echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode`\n* Twitter: [https://twitter.com/learn_byexample](https://twitter.com/learn_byexample)\n\n\u003cbr\u003e\n\n# Table of Contents\n\n1) Preface\n2) Introduction\n3) Insert mode\n4) Normal mode\n5) Command-line mode\n6) Visual mode\n7) Regular Expressions\n8) Macro\n9) Customizing Vim\n10) CLI options\n\n\u003cbr\u003e\n\n# Acknowledgements\n\n* [Vim help files](https://vimhelp.org/) — user and reference manuals\n* [/r/vim/](https://old.reddit.com/r/vim) and [vi.stackexchange](https://vi.stackexchange.com/) — helpful forums\n* [tex.stackexchange](https://tex.stackexchange.com/) — for help on [pandoc](https://github.com/jgm/pandoc/) and `tex` related questions\n* [canva](https://www.canva.com/) — cover image\n* [Warning](https://commons.wikimedia.org/wiki/File:Warning_icon.svg) and [Info](https://commons.wikimedia.org/wiki/File:Info_icon_002.svg) icons by [Amada44](https://commons.wikimedia.org/wiki/User:Amada44) under public domain\n* [oxipng](https://github.com/shssoichiro/oxipng), [pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) — for optimizing images\n* [Rodrigo Girão Serrão](https://mathspp.com/) — for feedback and suggestions\n* [Andy](https://twitter.com/andylondon) — for cover image suggestions\n* [Inkscape](https://inkscape.org/) for favicon\n* [mdBook](https://github.com/rust-lang/mdBook) — for web version of the book\n    * [mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc) — for adding table of contents for each page\n    * [minify-html](https://github.com/wilsonzlin/minify-html) — for minifying html files\n    * [MDN: kbd](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd) — CSS for `\u003ckbd\u003e` tag\n\n\u003cbr\u003e\n\n# License\n\nThe book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nThe code snippets are licensed under MIT, see [LICENSE](./LICENSE) file.\n\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnbyexample%2Fvim_reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flearnbyexample%2Fvim_reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnbyexample%2Fvim_reference/lists"}