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

Fix the shell script! - 787 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 32
  • Position: #101 / 200
  • Number of attempts: 2
Python dataclasses - 629 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 23
  • Position: #71 / 164
  • Number of attempts: 6
C to python code snippet - 58 entries

C code can be easily translated into Python code. However, the difference in syntax can make this process tedious and time-consuming. Can Vim help you here?

  • Best score: 48
  • Best player score: 94
  • Position: #16 / 19
  • Number of attempts: 1
Switch function arguments - 1967 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Position: #179 / 624
  • Number of attempts: 4
MacunaĆ­ma
Twitter:

entered into 4 challenges

contributed 0 challenges