Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Simple, Practical, and Common - 33614 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 29
  • Position: #4887 / 7418
  • Number of attempts: 3
One number per line - 18726 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 25
  • Position: #3350 / 3863
  • Number of attempts: 2
Add string initializers to an enum - 872 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 26
  • Position: #162 / 258
  • Number of attempts: 1
Add semicolons - 10851 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #1985 / 3063
  • Number of attempts: 4
Bad Copy Syntax - 2037 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 33
  • Position: #457 / 525
  • Number of attempts: 1
remove lines containing the word "reader" - 3586 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #665 / 1162
  • Number of attempts: 2
Box it - 7904 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #890 / 1875
  • Number of attempts: 6
Cool or not? - 829 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Position: #173 / 230
  • Number of attempts: 3
Team names - 1836 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #458 / 588
  • Number of attempts: 4
Missing Library and a Typo - 887 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 14
  • Best player score: 25
  • Position: #196 / 213
  • Number of attempts: 3
Inner hyphens - 136 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #69 / 82
  • Number of attempts: 1
Line under headers - 2041 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 32
  • Position: #310 / 502
  • Number of attempts: 3
Increment each number - 1023 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 20
  • Position: #137 / 248
  • Number of attempts: 3
Join 'em - 251 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #113 / 151
  • Number of attempts: 6
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #863 / 1137
  • Number of attempts: 2
quotes inside quotes - 3159 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Position: #932 / 1078
  • Number of attempts: 2
citizen_hacks_2019_challenge1 - 51 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 5
  • Position: #16 / 45
  • Number of attempts: 1
Josefina Alconada
Twitter:

entered into 17 challenges

contributed 0 challenges