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

months to html list items - 512 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #23 / 143
  • Number of attempts: 6
Quicksort - 1545 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: 32
  • Position: #271 / 339
  • Number of attempts: 2
EDN reformat - 1012 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #57 / 141
  • Number of attempts: 5
Tic-Tac-Toe Grid Transformation - 312 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: 57
  • Best player score: 155
  • Position: #57 / 74
  • Number of attempts: 2
Pick and sort servers from mirror list - 343 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: 59
  • Position: #63 / 75
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 478 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 18
  • Position: #228 / 267
  • Number of attempts: 2
delete swap - 1522 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #312 / 476
  • Number of attempts: 1
Visual block training - 1000 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 35
  • Position: #98 / 182
  • Number of attempts: 9
Put a newline after every 10 lines in vim - 1577 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 13
  • Position: #388 / 523
  • Number of attempts: 1
Wikitext headings to markdown - 978 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 21
  • Position: #69 / 202
  • Number of attempts: 7
Learn to ask for :help - 516 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 32
  • Position: #72 / 119
  • Number of attempts: 6
Simple, Practical, and Common - 33379 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: 22
  • Position: #2393 / 7363
  • Number of attempts: 13
dehi
Github:

entered into 12 challenges

contributed 0 challenges