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

Substraction (bis) - 300 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 22
  • Best player score: 82
  • Position: #59 / 67
  • Number of attempts: 1
delete swap - 740 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #161 / 253
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 832 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 83
  • Position: #167 / 183
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1163 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 16
  • Position: #358 / 401
  • Number of attempts: 1
hello-world-vimgolf - 1762 entries

Simple number generation

  • Best score: 10
  • Best player score: 25
  • Position: #462 / 507
  • Number of attempts: 5
Making 3 line function a one liner. - 197 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #112 / 129
  • Number of attempts: 1
Put a cross in the square - 145 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 21
  • Position: #10 / 64
  • Number of attempts: 6
Extend shell script - 90 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 75
  • Position: #30 / 37
  • Number of attempts: 2
Just the middle - 11281 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3171 / 4139
  • Number of attempts: 10
Stairs Indenting - 439 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 15
  • Position: #150 / 188
  • Number of attempts: 1
Make it more readable - 1923 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 19
  • Position: #567 / 632
  • Number of attempts: 3
Whitespace, empty lines and tabs - 3060 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 43
  • Position: #641 / 677
  • Number of attempts: 1
Benjamin
Twitter:

entered into 12 challenges

contributed 0 challenges