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

Tabbed Table to Python Array - 773 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 64
  • Position: #118 / 185
  • Number of attempts: 2
Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 40
  • Position: #419 / 624
  • Number of attempts: 1
Making 3 line function a one liner. - 347 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #121 / 214
  • Number of attempts: 1
swap number pairs - 2173 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 34
  • Position: #296 / 394
  • Number of attempts: 1
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #393 / 708
  • Number of attempts: 2
Replace and keep the case - 448 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 32
  • Position: #91 / 121
  • Number of attempts: 2
Fix the XML - 1050 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 34
  • Position: #265 / 291
  • Number of attempts: 1
Test everything! - 206 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 22
  • Best player score: 50
  • Position: #55 / 56
  • Number of attempts: 2
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3115 / 4221
  • Number of attempts: 1
learn vim in short time - 246 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Position: #10 / 166
  • Number of attempts: 1
vim1001 - 315 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 21
  • Position: #28 / 111
  • Number of attempts: 3
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 20
  • Position: #1081 / 1145
  • Number of attempts: 1
Count both ways - 1037 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #141 / 359
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 262 entries

Just testing.

  • Best score: 18
  • Best player score: 20
  • Position: #82 / 119
  • Number of attempts: 1
Change name of a variable - 187 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 11
  • Position: #140 / 144
  • Number of attempts: 1
Neither Fizz nor Buzz - 270 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Position: #38 / 106
  • Number of attempts: 2
Do you demand a shrubbery? - 1187 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 32
  • Position: #228 / 307
  • Number of attempts: 1
Don't know what this is - 2048 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Position: #427 / 592
  • Number of attempts: 1
Alexandre Ignjatovic
Twitter:

CTO @Simundia Ex Doctolib & https://t.co/Bk7YiIvLco Ruby fanboy Brewer Host of 🇫🇷 podcast "Le Prétexte" https://t.co/qMSKpfKLsl

entered into 18 challenges

contributed 0 challenges