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

From brakets to parens - 933 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 47
  • Position: #174 / 216
  • Number of attempts: 1
π - 261 entries

1200 π chars

  • Best score: 16
  • Best player score: 43
  • Position: #49 / 65
  • Number of attempts: 1
YAML to dotenv - 1476 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 38
  • Position: #247 / 301
  • Number of attempts: 1
Change class fields from camel case to snake case - 586 entries

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

  • Best score: 18
  • Best player score: 50
  • Position: #113 / 134
  • Number of attempts: 2
Change class fields from snake case to camel case - 295 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #65 / 109
  • Number of attempts: 4
Replace csv column if it's not empty - 255 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 17
  • Position: #66 / 87
  • Number of attempts: 1
Copy punctuation - 688 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 52
  • Position: #131 / 168
  • Number of attempts: 1
mageprist
Github:

entered into 7 challenges

contributed 0 challenges