Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adomokos/Vim-Katas

Vim exercises based on the book - Practical Vim.
https://github.com/adomokos/Vim-Katas

Last synced: 7 days ago
JSON representation

Vim exercises based on the book - Practical Vim.

Awesome Lists containing this project

README

        

## VIM Katas

Daily exercises from the book [Practical Vim](https://pragprog.com/book/dnvim/practical-vim).

It was about 5 years ago when I watched Jim Weirich solving the [Roman Numeral kata](https://vimeo.com/33841375) at an SCNA conference in Chicago. I was amazed by how he mastered his editor of choice: Emacs. His fingers were flying on the keyboard, and he wrangled the code I have rarely seen anybody before that.

![vim-screen](https://github.com/adomokos/climb_that_mountain/blob/master/resources/2016/10/vim_logo.png)

I started using Vim in 2008 or 2009, but I never really invested the time to be good at it. I read the man pages, I went through Vim tutor, but I never really picked up or started using most of the advanced features.

I remember how great I felt when I reset my Caps Lock key to function as Ctrl key. The power of hitting `` with my pinky and index finger just to trigger `` without reaching up to the top left on the keyboard made me feel I've just found kryptonite.

I've had the book [Practical Vim](http://pragprog.com/practical_vim) for some time, but I never really practiced the examples from it. I looked at them here and there, tried them out, but I've never made a habit of practicing those daily. Then one day I got sick and tired of my inabilities, I started a new markdown document where I jotted down the [first exercise](https://github.com/adomokos/Vim-Katas/blob/master/exercises/24_editing_tabular_data_with_visual_block_mode.md) and the project of [Vim Katas](http://www.github.com) was born. Every time I commuted to work, I started with the first one and practiced all of them. Once I got to the end of it, I read the book further and added new exercises to it.

I might have covered 60% of the book by now, but when I bump into a repeatable task and I leverage a macro for it, it always puts a smile on my face.

Using Vim reminds me of learning to play a musical instrument. It takes time and effort to be good at it, and the keystrokes have to be in your fingertips. Once you slow down and think about it, the effectiveness of the text-based editor fades away, you would be more efficient by using visual editor instead (like Sublime Text, IntelliJ or Visual Studio).

Vim (and I am sure many other tools) has this huge wall that people have to climb first to appreciate it. Clone this repo, open the first markdown file in Vim, and start practicing.