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

HS exam question - 1469 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 90
  • Position: #286 / 389
  • Number of attempts: 1
Many duplicates - 1218 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #185 / 397
  • Number of attempts: 5
delete swap - 1466 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #181 / 465
  • Number of attempts: 3
Put a newline after every 10 lines in vim - 1554 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 25
  • Position: #489 / 518
  • Number of attempts: 1
hello-world-vimgolf - 2311 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #244 / 653
  • Number of attempts: 5
Modernise code - 1331 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 54
  • Position: #246 / 306
  • Number of attempts: 1
swap number pairs - 2002 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 26
  • Position: #195 / 369
  • Number of attempts: 4
citizen_hacks_2019_challenge2 - 189 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #62 / 99
  • Number of attempts: 2
Around the clock - 188 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 13
  • Position: #37 / 74
  • Number of attempts: 3
Join 'em - 247 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 4
  • Position: #16 / 147
  • Number of attempts: 2
Simple Maths 2 - 29 entries

Time to practice expression register! #maths #linear

  • Best score: 17
  • Best player score: 32
  • Position: #9 / 13
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 48 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 5
  • Position: #34 / 42
  • Number of attempts: 1
replacing each line of a block selection - 2925 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 20
  • Position: #289 / 764
  • Number of attempts: 2
switch variable - 5028 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #660 / 1734
  • Number of attempts: 4
0xdaydream
Twitter:

entered into 14 challenges

contributed 0 challenges