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 - 2514 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 / 548
  • Number of attempts: 8
HS exam question - 1577 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 87
  • Position: #295 / 415
  • 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: 24
  • Position: #36 / 345
  • Number of attempts: 8
Many duplicates - 1443 entries

Quick and easy

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

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #168 / 555
  • Number of attempts: 3
Com(m)a Trouble - 3791 entries

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

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

entered into 7 challenges

contributed 0 challenges