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

Preferably without multi-cursor plugin - 303 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: 39
  • Number of attempts: 4
Box it - 3966 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 2
One number per line - 13841 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 4
One to Ten - 1193 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: 12
  • Number of attempts: 1
Swap values - 3701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 3
Copy three lines - 2217 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 1
Swap values inside brackets - 1701 entries

Easy challenge.

  • Best score: 13
  • Best player score: 27
  • Number of attempts: 1
move titles next to url, in quotes - 326 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 23
  • Number of attempts: 2
Increment each number - 571 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 20
  • Number of attempts: 5
Nicolas Daval
Twitter:

entered into 9 challenges

contributed 0 challenges