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

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

  • Best score: 10
  • Best player score: 20
  • Position: #1260 / 1558
  • Number of attempts: 1
Applying same text modification in several lines - 2920 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #603 / 864
  • Number of attempts: 2
Add string initializers to an enum - 899 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #210 / 264
  • Number of attempts: 2
Add semicolons - 10930 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1826 / 3090
  • Number of attempts: 4
remove lines containing the word "reader" - 3631 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #919 / 1179
  • Number of attempts: 5
Vice versa - 7990 entries

Little role switching.

  • Best score: 12
  • Best player score: 33
  • Position: #2078 / 2149
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

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

entered into 7 challenges

contributed 0 challenges