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 - 1306 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: 51
  • Position: #246 / 295
  • Number of attempts: 1
Replace markdown sections with numbering - 323 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 105
  • Position: #75 / 90
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 297 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 47
  • Position: #85 / 118
  • Number of attempts: 1
Copy punctuation - 747 entries

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

  • Best score: 19
  • Best player score: 45
  • Position: #125 / 183
  • Number of attempts: 1
Hex to binary - 134 entries

Convert hexadecimal numbers into binary format.

  • Best score: 29
  • Best player score: 88
  • Position: #25 / 27
  • Number of attempts: 1
Simple, Practical, and Common - 34021 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 30
  • Position: #5414 / 7517
  • Number of attempts: 1
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #777 / 3098
  • Number of attempts: 2
Free hyphen! - 199 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 9
  • Position: #39 / 97
  • Number of attempts: 3
Sorting paragraphs - 568 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 51
  • Position: #157 / 169
  • Number of attempts: 1
Reverse characters in a line - 845 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 8
  • Best player score: 8
  • Position: #1 / 283
  • Number of attempts: 2
Braces or Brackets? - 1209 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 52
  • Position: #290 / 365
  • Number of attempts: 1
Fufu142857
Github:

entered into 11 challenges

contributed 0 challenges