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 - 1517 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 90
  • Position: #294 / 401
  • Number of attempts: 1
Many duplicates - 1305 entries

Quick and easy

  • Best score: 6
  • Best player score: 8
  • Position: #191 / 428
  • Number of attempts: 5
delete swap - 1614 entries

delete all swap

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

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

  • Best score: 10
  • Best player score: 25
  • Position: #513 / 543
  • Number of attempts: 1
hello-world-vimgolf - 2411 entries

Simple number generation

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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 54
  • Position: #252 / 313
  • Number of attempts: 1
swap number pairs - 2022 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #197 / 373
  • Number of attempts: 4
citizen_hacks_2019_challenge2 - 193 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #62 / 101
  • Number of attempts: 2
Around the clock - 190 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 / 75
  • Number of attempts: 3
Join 'em - 251 entries

This shouldn't be too tough

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

Time to practice expression register! #maths #linear

  • Best score: 17
  • Best player score: 32
  • Position: #11 / 15
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 50 entries

For the Citizen Hacks 2019 Vim competition

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

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

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

how fast can you switch two variable ?

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

entered into 14 challenges

contributed 0 challenges