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

One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3277 / 3898
  • Number of attempts: 5
Add string initializers to an enum - 899 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #145 / 264
  • Number of attempts: 3
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1331 / 3091
  • Number of attempts: 1
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Position: #311 / 638
  • Number of attempts: 3
Copy three lines - 2909 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 19
  • Position: #390 / 644
  • Number of attempts: 6
ninja substitution - 1436 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 21
  • Position: #216 / 270
  • Number of attempts: 3
Vice versa - 7995 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1117 / 2151
  • Number of attempts: 5
One to Ten - 2246 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Position: #502 / 684
  • Number of attempts: 3
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1092 / 1196
  • Number of attempts: 3
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2728 / 4216
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10743 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2454 / 3710
  • Number of attempts: 1
Simple text editing with Vim - 13468 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2624 / 3865
  • Number of attempts: 4
Harsh Raj
Twitter:

CSE Junior

entered into 12 challenges

contributed 0 challenges