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

Paste a column after a column - 2324 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #25 / 502
  • Number of attempts: 8
HS exam question - 1517 entries

Convert the data to a python dictionary

  • Best score: 12
  • Best player score: 87
  • Position: #284 / 400
  • Number of attempts: 1
Reformat symbols in list - 1477 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #36 / 327
  • Number of attempts: 8
Many duplicates - 1284 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #210 / 421
  • Number of attempts: 5
Fix the shell script! - 2373 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #199 / 550
  • Number of attempts: 9
Put a newline after every 10 lines in vim - 1600 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #163 / 534
  • Number of attempts: 3
Com(m)a Trouble - 3696 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #163 / 833
  • Number of attempts: 7
Glorbo
Twitter:

entered into 7 challenges

contributed 0 challenges