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 - 6401 entries

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

  • Best score: 7
  • Best player score: 20
  • Position: #1266 / 1566
  • Number of attempts: 1
Applying same text modification in several lines - 2937 entries

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

  • Best score: 7
  • Best player score: 16
  • Position: #607 / 869
  • Number of attempts: 2
Add string initializers to an enum - 904 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #212 / 267
  • Number of attempts: 2
Add semicolons - 10966 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1834 / 3100
  • Number of attempts: 4
remove lines containing the word "reader" - 3661 entries

easy stuff

  • Best score: 7
  • Best player score: 11
  • Position: #927 / 1189
  • Number of attempts: 5
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 33
  • Position: #2085 / 2158
  • Number of attempts: 1
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 14
  • Position: #1456 / 1767
  • Number of attempts: 3
phe
Twitter:

entered into 7 challenges

contributed 0 challenges