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 format - 2407 entries

make it look better.

  • Best score: 20
  • Best player score: 58
  • Number of attempts: 9
Box it - 1966 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 53
  • Number of attempts: 1
I forgot quotes - 11407 entries

Oops.

  • Best score: 10
  • Best player score: 49
  • Number of attempts: 1
Split line with dots - 1795 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 6
Flip the bit - 68 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 10
  • Number of attempts: 1
Change part of a function name in multiple occurrences - 358 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: 15
  • Number of attempts: 2
Just the middle - 8987 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Com(m)a Trouble - 1283 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 8
V to the i - 3801 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Delete to the end of the current line - 390 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 4
Swap values - 3420 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Copy three lines - 1983 entries

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

  • Best score: 13
  • Best player score: 22
  • Number of attempts: 3
Swap values inside brackets - 1331 entries

Easy challenge.

  • Best score: 2
  • Best player score: 15
  • Number of attempts: 9
One to Ten - 784 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: 14
  • Number of attempts: 3
Cool or not? - 379 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 6
chenqiqi
Twitter:

entered into 15 challenges

contributed 0 challenges