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

Surround the 'z' character with brackets, quotes, and print as formatted string. - 572 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 19
  • Position: #285 / 321
  • Number of attempts: 1
Paste a column after a column - 2632 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 16
  • Position: #164 / 570
  • Number of attempts: 8
Tabbed Table to Python Array - 755 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 95
  • Position: #172 / 182
  • Number of attempts: 2
HS exam question - 1599 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 84
  • Position: #289 / 419
  • Number of attempts: 1
Reformat symbols in list - 1635 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 34
  • Position: #220 / 352
  • Number of attempts: 4
Many duplicates - 1465 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #229 / 478
  • Number of attempts: 4
Fix the shell script! - 2651 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 46
  • Position: #483 / 616
  • Number of attempts: 1
Simple, Practical, and Common - 33866 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: 29
  • Position: #5011 / 7474
  • Number of attempts: 2
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3137 / 3889
  • Number of attempts: 3
funorange
Twitter2:

https://t.co/srTgSUJsEN https://t.co/D7PslhCtti https://t.co/1b3zqsPdXo

entered into 9 challenges

contributed 0 challenges