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. - 546 entries

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

  • Best score: 17
  • Best player score: 19
  • Position: #268 / 304
  • Number of attempts: 1
Paste a column after a column - 2518 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #156 / 549
  • Number of attempts: 8
Tabbed Table to Python Array - 721 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: #168 / 178
  • Number of attempts: 2
HS exam question - 1578 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 84
  • Position: #286 / 416
  • Number of attempts: 1
Reformat symbols in list - 1607 entries

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

  • Best score: 24
  • Best player score: 34
  • Position: #215 / 345
  • Number of attempts: 4
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #227 / 467
  • Number of attempts: 4
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 46
  • Position: #460 / 589
  • Number of attempts: 1
Simple, Practical, and Common - 33591 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: #4983 / 7410
  • Number of attempts: 2
One number per line - 18711 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3122 / 3858
  • 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