The Wizard Logs - Part I - The Adventures, Glory and Misfortunes of Writing Wizards Use Vim
Tags: vim, webdev, showdev
Published: 2019-01-14 20:36:26

---
title: "The Wizard Logs - Part I - The Adventures, Glory and Misfortunes of Writing Wizards Use Vim"
published: true
description: Where I start a series of articles about the adventure of writing Wizards Use Vim. Within them I'll describe my creative process, how does it progress, any misfortunes that may occur and new ideas I have been having
tags: [vim,webdev,showdev]
series: The Wizards Use Vim Logs
cover_image: https://thepracticaldev.s3.amazonaws.com/i/e2ojzabbhdi7bhkghkes.jpg
canonical_url: https://www.barbarianmeetscoding.com/blog/2019/01/14/the-wizard-logs-part-i-adventures-glory-and-misfortunes-of-writing-wizards-use-vim
---


*This article was originally posted in [barbarianmeetscoding.com](https://www.barbarianmeetscoding.com/blog/2019/01/14/the-wizard-logs-part-i-adventures-glory-and-misfortunes-of-writing-wizards-use-vim).*


As soon as I announced [Wizards Use Vim](http://leanpub.com/wizardsusevim) at such an early stage of writing I started thinking about the best way to involve the community of readers in the writing and development of the book. Should I send email updates every time I publish a new version? Should I do it biweekly? Monthly? Should I wait till the book is ready?

Part of what I wanted to do with this book, and following the spirit of an article I wrote recently called [Don't Give Up! Keep Iterating](http://localhost:8000/blog/2019/01/03/dont-give-up-keep-iterating), was to show how much work goes into a book. And **specially** how an ugly, gross, chaotic ball of mud can slowly be transformed into a beautiful sculpture through iterative work.

This is the format I settled for: **The Wizard Logs**! In this bi-weekly series I'll share with you my adventures, glory and misfortunes of writing this new book on Vim. I'll give you an update of the progress of the book, ideas I've been considering, things I've been pondering about, obstacles I had to avoid and dead-ends I smacked my face into.

<!-- more -->

First, it was super heartwarming for such a weird book to have such a nice reception. This was almost entirely due to the awesome and encouraging [dev.to](https://dev.to/vintharas/wizards-use-vim-my-new-book-on-vim-4bc0) community. There was a lot of people interested and enthusiastic in reading the book at this early stage and providing feedback. In fact, there's been great feedback that has helped me improve the book already, which has lead me to add a chapter to recognize contributions in the book. If you've provided some feedback then go take a look.

Over the past week I've spent most of my Dad free time writing this book. And in the spirit of [LeanPub](https://leanpub.com/authors) I've published about ~20 new versions of the book with lots of improvements and new content:

* Shaped and reshaped the structure of the whole book. Splitting, merging and moving chapters around to where they make more sense. More of this coming in the future for sure
* I've followed some great advice from [Arthur Zubarev](https://twitter.com/ArthurZ) about dividing the book into parts instead of following a monolithic approach. We had the same realization at the same time :D. It was great feedback! The book now has three paths: Apprentice, Master and Grandmaster **to give you that awesome sense of completion and achievement after each part**.
* I've spent a lot of time in the introductory chapters of the book and reviewed and thoroughly improved:
  * The preamble and the introduction
  * A Taste of Vim
  * Here Be Dragons, a chapter on the biggest pitfalls when learning Vim
  * Getting Started With Vim, a chapter to setup your Vim development environment
  * Tips for learning Vim more effectively
  * Note that these are all working titles and they'll be shaped into their nerdy form as the book evolves
* As of today I'm working on the first chapter on actual Vim Vim learning which takes you through opening Vim, opening and creating files, saving and quitting and so forth, which is the most basic stuff before you can get started with the interesting parts
* At this point I'm focusing mostly on adding content more than in quality and style. And I'm not thinking so much about the fantasy theme of the book while writing. That will be a refinement when all the content within the book is complete. But the truth is that sometimes it comes out. Sometimes it comes out waaaay too much and is out of control:

> There are different paths that you can follow to get started with Vim, and each corresponds with different factions within The Order of Vim. Each with their own idiosyncrasies and approaches to using Vim, some of them purists, some others pragmatists, but all tied by the love and awesomeness of Vim.
>
> The factions are in constant turmoil, some will rise, some will perish and others just remain through the ages. These are the most significant ones today:
>
> ## The Factions
>
> **The High Arcanists of [Vim](https://www.vim.org/)** represent the biggest and most ancient faction, filled with its own subfactions and groups. They are the followers and users of the original version of Vim, kicking ass since 1991. It is the most stable choice, it can run on a terminal and it provides support for a very thin GUI layer via GVim and MacVim. It's actively developed under the direction of The Benevolent Supreme Archanist [Bram Moolenaar](https://moolenaar.net) and saw the latest significant release in May 2018 with Vim 8.1 and support for an integrated terminal. You can follow their exploits in the [vim mailing list](https://groups.google.com/forum/#!forum/vim_announce).
>
> **The [Neovim](https://neovim.io/) Witches and Warlocks**, a faction which broke away from the High Arcanists with a vision in mind. To refactor the original Vim and make it more maintanible and approachable to new contributors. And thus came Neovim. Neovim has risen as a modernized Vim alternative faithful to the ideas and essence of the original. Neovim itself only supports a text interface but it is designed as a platform that can be consumed by other graphical editors (such as Visual Studio Code or Oni). It's actively developed on [GitHub](https://github.com/neovim/neovim).
>
> **The Bards, Filis and Skalds who prefer the pragmatism of using Vim Plugins in modern editors are a minor faction**. Vim is so awesome that lots of other popular editors support some kind of Vim-like mode. This is a popular choice for software developers that value the productivity boost of using Vim but enjoy the great out-of-the-box experience of modern popular editors. Some examples of editors that support this type of hybrid setup are:
>
> * [Visual Studio Code](https://code.visualstudio.com) with [VSCodeVim](https://github.com/VSCodeVim/Vim)
> * [Atom](https://atom.io/) with [vim-mode](https://atom.io/packages/vim-mode)
> * [Visual Studio](https://visualstudio.microsoft.com/) with [VsVim](https://marketplace.visualstudio.com/items?itemName=JaredParMSFT.VsVim)
> * [Sublime Text](https://www.sublimetext.com/) with [vintage mode](https://www.sublimetext.com/docs/3/vintage.html)
> * [WebStorm](https://www.jetbrains.com/webstorm/specials/webstorm/webstorm.html) and other IDEs based on the IntelliJ platform like IntelliJ IDEA, PyCharm, Android Studio, etc... with [IdeaVim](https://github.com/JetBrains/ideavim)
>
> **The [Oni](https://www.onivim.io/) Alchemists** are a very obscure minor faction whose members experiment to achieve the impossible: Combining the best parts of Vim and modern editors into a single editor Oni to rule them all. Oni is a graphical editor built with React and TypeScript which uses Neovim behind the scenes to give you all the power of Vim but still aims to provide a great out-of-the-box experience. At present it is in very early stages but I think it is worthy to be aware that it exists and to keep an eye out for how it develops.
>
> <cite>Wizards Use Vim</cite>

I've also been creating some art drafts for the book. These are versions 0 where the goal is to reflect an idea or the spirit of an idea in a drawing. Here are some of them:

<div class="photo-album">
<img class="photo shadow-small margin-big" src="https://www.barbarianmeetscoding.com/images/wizards-use-vim-steep-learning-curve.jpg" title="Vim's steep learning curve" alt="Vim's steep learning curve">
<img class="photo shadow-small margin-big" src="https://www.barbarianmeetscoding.com/images/wizards-use-vim-vim-joke.jpg" title="Can't exit Vim" alt="Can't exit Vim">
</div>

Some cool ideas I've included into the book thus far:

* Talking about the community of Vim users and not only about Vim core features
* Having the book be quite pragmatic in how you approach Vim. The book recommends you to use Neovim/Vim to learn Vim and Vim-like editor/IDE plugins to practice what you learn in your current editor.
* Exercises where you can practice the use of Vim.
* Journaling. Instead of providing summaries at the end of the chapters. You as a reader have some homework to do. To journal and write these summaries yourself about what you've learned using Vim.

> Summarizing what you've learned at the end of a chapter is a great indicator of the quality of a book. But in this book we're going to do something better. **We're going to journal**, and **you** are to going write a summary of what you've learned as you read each chapter using Vim. You're going to write down what you learn of Vim with Vim, this is gorgeously meta. Aside from the meta-awesomeness there's more advantages:
>
> * You'll be able to see how much you learn on each chapter
> * You'll consolidate the concepts you've learned
> * You can reflect on how you can incorporate the things you learn in you current workflow. _Is this approach more effective that what I am currently doing?_
> * You'll be able to use it as reference later on
>
> <cite>Wizards Use Vim</cite>

Things that concern me right now:

* The introduction been way too long
* The online reading experience in LeanPub is not very pleasant (personal opinion). I'm considering creating a separate website where you can read the book online. This was part of my plan all along but I may do it before I had in mind.
* How the heck am I going to fit in a Fantasy story within the book (it could be in the companion game??)

If you've downloaded the book and are wondering whether or not to read the book right now (I have several readers ask me that very question) I've got an answer for you. It all depends on what you want to get out of this book:

* If you want to tag along and experience how a book gets made and is slowly improved over time, provide feedback that has a bigger impact then read the chapters from **Proposal** or **Draft** onward.
* If you want to read a version as closer to the final version as possible and still would like to provide feedback and impact the book then **Candidate** and **Finished** are the ones for you.

<aside class="callout info">
<p><strong>Wondering what the heck proposal, draft, candidate and finished are?</strong> They are just names that represent the state of maturity of each chapter within the book. Their goal is to make readers aware of this so they can decide whether they want to put up with early drafts or not.</p>
</aside>

And that's all I have for now. Until the next time! Take care and be kind to the people around you. Hug!

P.S. If you're interested in more specifics of my writing process then [take a look at this series I wrote about writing books](https://dev.to/vintharas/how-to-write-a-book-and-not-die-trying-the-story-of-how-i-wrote-javascriptmancy--everything-i-learnt-writing-2-books--a-half-5f7p).