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

Word completion - 15 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 96
  • Position: #5 / 9
  • Number of attempts: 4
Fix timezone format - 61 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 17
  • Position: #18 / 21
  • Number of attempts: 5
Search different SQL column with similar where clause - 35 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: 23
  • Position: #4 / 14
  • Number of attempts: 4
Remove adjacent duplicates - 278 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #12 / 76
  • Number of attempts: 6
Move to corresponding lines - 155 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #8 / 38
  • Number of attempts: 11
Rearrange array to single level - 965 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 19
  • Position: #43 / 164
  • Number of attempts: 4
Rearrange array to one line - 448 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #35 / 116
  • Number of attempts: 4
Copy punctuation - 398 entries

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

  • Best score: 19
  • Best player score: 30
  • Position: #40 / 95
  • Number of attempts: 3
Replace word while reserving first letter case - 563 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 54
  • Position: #98 / 113
  • Number of attempts: 1
Quicksort - 1838 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #19 / 403
  • Number of attempts: 7
EDN reformat - 1102 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 18
  • Position: #29 / 154
  • Number of attempts: 13
Tic-Tac-Toe Grid Transformation - 381 entries

Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.

  • Best score: 56
  • Best player score: 71
  • Position: #21 / 82
  • Number of attempts: 13
MartnRamtin
Github:

entered into 12 challenges

contributed 0 challenges