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

Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 175
  • Position: #251 / 253
  • Number of attempts: 1
hello-world-vimgolf - 1534 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #178 / 438
  • Number of attempts: 5
Plotting some variables in python - 1172 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 34
  • Position: #37 / 247
  • Number of attempts: 10
citizen_hacks_2019_part1 - 29 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 52
  • Best player score: 52
  • Position: #3 / 11
  • Number of attempts: 8
Right Align Part of the line - 91 entries

The challenge is to right align a part of the line - this is useful in some SQL queries where it's more clear which are the fields displayed

  • Best score: 19
  • Best player score: 20
  • Position: #17 / 30
  • Number of attempts: 6
citizen_hacks_2019_challenge2 - 173 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #56 / 86
  • Number of attempts: 1
citizen_hacks_2019_challenge3 - 28 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 4
  • Best player score: 4
  • Position: #22 / 25
  • Number of attempts: 1
citizen_hacks_2019_part2 - 18 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 41
  • Best player score: 41
  • Position: #4 / 7
  • Number of attempts: 5
citizen_hacks_2019_challenge4 - 74 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Position: #41 / 51
  • Number of attempts: 2
citizen_hacks_2019_challenge5 - 119 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #55 / 62
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 50 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Position: #37 / 40
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 35 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 5
  • Position: #24 / 29
  • Number of attempts: 2
Whitespace, empty lines and tabs - 2980 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 16
  • Position: #24 / 664
  • Number of attempts: 10
Simple text editing with Vim - 11637 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1863 / 3413
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6015 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 39
  • Position: #712 / 1482
  • Number of attempts: 6
unchi
Twitter:

entered into 15 challenges

contributed 0 challenges