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! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #45 / 624
  • Number of attempts: 11
Modernise code - 1439 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #23 / 333
  • Number of attempts: 25
HS Final exam vimgolf - 936 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 21
  • Position: #12 / 245
  • Number of attempts: 13
Rural Post - 4602 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 166
  • Position: #1117 / 1124
  • Number of attempts: 1
Multiline to Single Line - 754 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #105 / 322
  • Number of attempts: 5
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1743 / 3098
  • Number of attempts: 15
Alphabet soup - 467 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 26
  • Position: #46 / 113
  • Number of attempts: 15
expand a list comprehension (python) - 348 entries

Please show your way to convert a list comprehension in python to an ordinary for-loop expression!

  • Best score: 42
  • Best player score: 62
  • Position: #86 / 111
  • Number of attempts: 2
Torikatsu
Twitter:

web developer #Flutter #vim blog: https://t.co/G6DJDKevGu

entered into 8 challenges

contributed 0 challenges