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! - 2422 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 175
  • Position: #559 / 563
  • Number of attempts: 1
hello-world-vimgolf - 2472 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #178 / 699
  • Number of attempts: 5
Plotting some variables in python - 1604 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 / 344
  • Number of attempts: 10
citizen_hacks_2019_part1 - 45 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 52
  • Best player score: 52
  • Position: #3 / 16
  • Number of attempts: 8
Right Align Part of the line - 133 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: #19 / 42
  • Number of attempts: 6
citizen_hacks_2019_challenge2 - 194 entries

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition

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

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #65 / 75
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 61 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Position: #37 / 49
  • 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: #24 / 44
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3499 entries

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

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

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

  • Best score: 13
  • Best player score: 14
  • Position: #1905 / 3622
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6743 entries

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

  • Best score: 31
  • Best player score: 39
  • Position: #753 / 1651
  • Number of attempts: 6
unchi
Twitter:

entered into 15 challenges

contributed 0 challenges