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

prepend * to every non-blank line - 6366 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 20
  • Position: #1257 / 1555
  • Number of attempts: 1
Applying same text modification in several lines - 2915 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 16
  • Position: #602 / 863
  • Number of attempts: 2
Add string initializers to an enum - 892 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #209 / 263
  • Number of attempts: 2
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1822 / 3085
  • Number of attempts: 4
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #917 / 1177
  • Number of attempts: 5
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 33
  • Position: #2075 / 2146
  • Number of attempts: 1
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1444 / 1754
  • Number of attempts: 3
phe
Twitter:

entered into 7 challenges

contributed 0 challenges