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

Swap function parameters and delete all comments in python. - 1021 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 47
  • Position: #235 / 250
  • Number of attempts: 1
Delete the last function argument in python. - 699 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 11
  • Position: #231 / 249
  • Number of attempts: 3
Flip All Bits - 484 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 24
  • Best player score: 109
  • Position: #133 / 136
  • Number of attempts: 1
Convert list of enums to list of localization terms - 256 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 192
  • Position: #71 / 73
  • Number of attempts: 1
Changing date formats - 755 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 925
  • Position: #211 / 212
  • Number of attempts: 1
Markdown Blog Editing - 487 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 243
  • Position: #118 / 118
  • Number of attempts: 2
Word completion - 326 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 122
  • Position: #65 / 85
  • Number of attempts: 3
Search different SQL column with similar where clause - 363 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 78
  • Position: #85 / 87
  • Number of attempts: 1
Remove adjacent duplicates - 729 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 65
  • Position: #175 / 184
  • Number of attempts: 1
Vidhyanshu Jain
Github:

entered into 9 challenges

contributed 0 challenges