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 - 1125 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: 15
  • Position: #160 / 337
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 485 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #155 / 271
  • Number of attempts: 1
delete swap - 1523 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #295 / 477
  • Number of attempts: 1
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: #386 / 524
  • Number of attempts: 1
hello-world-vimgolf - 2353 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #296 / 665
  • Number of attempts: 4
185264646
Github:

entered into 5 challenges

contributed 0 challenges