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

Rearrange array to single level - 1298 entries

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

  • Best score: 14
  • Best player score: 32
  • Position: #143 / 205
  • Number of attempts: 3
Change LaTex itemizations formats - 103 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 142
  • Position: #17 / 17
  • Number of attempts: 2
Mirror image - 75 entries

Add the second eye

  • Best score: 15
  • Best player score: 48
  • Position: #24 / 27
  • Number of attempts: 5
Quicksort - 1962 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: 9
  • Position: #169 / 431
  • Number of attempts: 4
EDN reformat - 1158 entries

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

  • Best score: 17
  • Best player score: 35
  • Position: #129 / 164
  • Number of attempts: 5
Tic-Tac-Toe Grid Transformation - 396 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: 116
  • Position: #43 / 83
  • Number of attempts: 5
Pick and sort servers from mirror list - 431 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 73
  • Position: #78 / 87
  • Number of attempts: 7
Populate 3D bone names list - 629 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 44
  • Position: #149 / 162
  • Number of attempts: 2
Find fix point of cos - 1402 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 23
  • Position: #330 / 415
  • Number of attempts: 4
Insert column data on Confluence-style table - 458 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 88
  • Position: #90 / 109
  • Number of attempts: 2
Reformat symbols in list - 1621 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 37
  • Position: #250 / 348
  • Number of attempts: 2
Com(m)a Trouble - 3823 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #176 / 865
  • Number of attempts: 10
Josh Pius
Github:

entered into 12 challenges

contributed 0 challenges