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

Simple, Practical, and Common - 25767 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 9
Simple text editing with Vim - 10554 entries

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

  • Best score: 13
  • Best player score: 22
  • Number of attempts: 3
Swap values - 3633 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 8
Box it - 3582 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
citizen_hacks_2019_challenge6 - 27 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Number of attempts: 1
remove lines containing the word "reader" - 1888 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
I forgot quotes - 12173 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Basic renumbering - 4691 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 13
Add semicolons - 2844 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
Nathan Bendich
Twitter:

entered into 9 challenges

contributed 0 challenges