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

Even and Odd - 190 entries

separate the even numbers from the odd numbers

  • Best score: 13
  • Best player score: 14
  • Position: #7 / 36
  • Number of attempts: 1
Swap function parameters and delete all comments in python. - 919 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 19
  • Position: #31 / 227
  • Number of attempts: 8
Delete the last function argument in python. - 611 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #96 / 221
  • Number of attempts: 4
Flip All Bits - 387 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: 26
  • Best player score: 36
  • Position: #42 / 119
  • Number of attempts: 6
Create json from a .env file - 1682 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 64
  • Position: #229 / 411
  • Number of attempts: 5
Change class fields from camel case to snake case - 664 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 18
  • Position: #50 / 153
  • Number of attempts: 8
Rearrange array to one line - 889 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 13
  • Position: #36 / 205
  • Number of attempts: 12
Chloronite
Github:

entered into 7 challenges

contributed 0 challenges