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 - 33878 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: 30
  • Position: #5267 / 7476
  • Number of attempts: 3
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3030 / 3889
  • Number of attempts: 3
Applying same text modification in several lines - 2915 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 17
  • Position: #642 / 863
  • Number of attempts: 5
remove lines containing the word "reader" - 3624 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #44 / 1178
  • Number of attempts: 4
Com(m)a Trouble - 3947 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 17
  • Position: #550 / 895
  • Number of attempts: 3
Number Sort - 319 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #94 / 170
  • Number of attempts: 3
Change part of a function name in multiple occurrences - 672 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 22
  • Position: #200 / 210
  • Number of attempts: 2
Put the months in order - 979 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 44
  • Position: #93 / 165
  • Number of attempts: 2
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1821 / 4202
  • Number of attempts: 6
Brome
Twitter:

I hold a Ph.D. in computer graphics and now I make rocksolid firmwares for smart grids. Proficiency in C++, CUDA and Qt, and more.

entered into 9 challenges

contributed 0 challenges