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

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

  • Best score: 10
  • Best player score: 20
  • Position: #1261 / 1559
  • Number of attempts: 1
Applying same text modification in several lines - 2927 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #604 / 865
  • Number of attempts: 2
Add string initializers to an enum - 901 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #211 / 265
  • Number of attempts: 2
Add semicolons - 10943 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1829 / 3093
  • Number of attempts: 4
remove lines containing the word "reader" - 3643 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #921 / 1181
  • Number of attempts: 5
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 33
  • Position: #2081 / 2153
  • Number of attempts: 1
switch variable - 5114 entries

how fast can you switch two variable ?

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

entered into 7 challenges

contributed 0 challenges