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

Change part of a function name in multiple occurrences - 380 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: 18
  • Number of attempts: 1
Applying same text modification in several lines - 1617 entries

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

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 2
simple format - 2779 entries

make it look better.

  • Best score: 20
  • Best player score: 48
  • Number of attempts: 1
change parenthesis - 50 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
One to Ten - 903 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 23
  • Number of attempts: 1
Join 'em - 113 entries

This shouldn't be too tough

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Increment each number - 464 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 20
  • Number of attempts: 2
Box it - 2831 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Number of attempts: 1
Simple format (2) - 224 entries

try again!

  • Best score: 23
  • Best player score: 39
  • Number of attempts: 2
Reorder the groups - 355 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 25
  • Number of attempts: 2
Preferably without multi-cursor plugin - 285 entries

Originally asked as question on reddit by kpthunder: https://www.reddit.com/r/vim/comments/9fvsro/what_is_the_most_efficient_way_to_go_about/

  • Best score: 30
  • Best player score: 43
  • Number of attempts: 2
Mauricio Ariza
Twitter:

Hay dos cosas infinitas: el Universo y la estupidez humana. Y del Universo no estoy seguro. Por Albert Einstein

entered into 11 challenges

contributed 0 challenges