• Stars
    star
    240
  • Rank 168,229 (Top 4 %)
  • Language
    Ruby
  • Created over 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Vim exercises based on the book - Practical Vim.

VIM Katas

Daily exercises from the book Practical Vim.

It was about 5 years ago when I watched Jim Weirich solving the Roman Numeral kata 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

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 <Ctrl+c> with my pinky and index finger just to trigger <Esc> 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 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 and the project of Vim Katas 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.

More Repositories

1

light-service

Series of Actions with an emphasis on simplicity.
Ruby
819
star
2

DesignPatterns-Ruby

Design Patterns in Ruby - Code samples based on the book with the same title
Ruby
196
star
3

mocha-in-browser

A Mocha in Browser Starter Kit
JavaScript
64
star
4

haskell-katas

Simple Exercises in Haskell, using HSpec
Haskell
47
star
5

aws-lambda-ruby

Running MRI Ruby on AWS Lambda with Bundler and Gems
Makefile
13
star
6

stinger

Database sharding example app with Ruby and MySQL.
Ruby
9
star
7

kotlin-sandbox

Learning different aspects/libraries of Kotlin
Kotlin
9
star
8

dotfiles

My vim, zsh, etc. configurations.
Vim Script
7
star
9

pyservice

A light-service like tool in Python
Python
6
star
10

TicTacToe-Game

in CoffeeScript with Backbone.js
JavaScript
6
star
11

mocks_vs_stubs

Mocks vs Stubs Clerb Meeting - Code Samples
Ruby
4
star
12

javascript_bdd

Using Jasmine BDD to learn JavaScript
JavaScript
3
star
13

terminal-twitter

Terminal base Twitter client
JavaScript
2
star
14

cucumber_excel

Cucumber features on top of MS Excel
Ruby
2
star
15

fp-ts-learning

Learning about fp-ts and io-ts.
TypeScript
2
star
16

sandbox-hs

A repo to try out ideas, tutorials.
Haskell
2
star
17

explorer

API Explorer in Haskell
Haskell
2
star
18

hourglass

A project trying socket.io and JS on the server and on the client
JavaScript
1
star
19

stringcalulator_js_starter_kit

A skeleton project for JS projects.
JavaScript
1
star
20

xkcd-287

A Ruby solution for xkcd 287
Ruby
1
star
21

js_testing

JavaScript Testing Project for CleRB
1
star
22

python_project_template

A Python project starter template
Python
1
star
23

crud-yeshql

Yeshql-MySQL implementation in Haskell
Haskell
1
star
24

ruby_project_template

A project template for CLI Ruby apps.
Ruby
1
star
25

docker_templates

Docker starter templates
Makefile
1
star
26

roman-numerals-kata-in-clojure

Yeah, the Roman Numeral Kata in Clojure - http://codingdojo.org/cgi-bin/wiki.pl?KataRomanNumerals
Clojure
1
star
27

ratefinder

API to find rates with documentation, running on Docker
Ruby
1
star
28

python_sb

Python Sandbox - playing around with Python
Python
1
star
29

kotlin-jdbi-postgres

A Kotlin project to explore various JDBI functionalities with PostgreSQL.
Kotlin
1
star
30

clojure-book-examples

Practicing examples from the book "Clojure in Action"
Clojure
1
star
31

hashmir

Haskell project to demonstrate yeshql and MySQL
Haskell
1
star