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

Find fix point of cos - 661 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: 14
  • Position: #20 / 185
  • Number of attempts: 4
Insert column data on Confluence-style table - 264 entries

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

  • Best score: 33
  • Best player score: 61
  • Position: #45 / 67
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 336 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #112 / 176
  • Number of attempts: 2
Paste a column after a column - 1690 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 17
  • Position: #145 / 370
  • Number of attempts: 3
Reformat symbols in list - 1216 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #81 / 275
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 6339 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 62
  • Position: #1466 / 1563
  • Number of attempts: 1
Ar┼źnas Smaliukas
Twitter:

entered into 6 challenges

contributed 0 challenges