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

EDN reformat - 1069 entries

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

  • Best score: 17
  • Best player score: 36
  • Position: #120 / 150
  • Number of attempts: 1
Insert column data on Confluence-style table - 436 entries

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

  • Best score: 33
  • Best player score: 34
  • Position: #5 / 101
  • Number of attempts: 3
Surround the 'z' character with brackets, quotes, and print as formatted string. - 491 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #34 / 276
  • Number of attempts: 3
Paste a column after a column - 2305 entries

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

  • Best score: 14
  • Best player score: 17
  • Position: #190 / 499
  • Number of attempts: 4
Fix the shell script! - 2373 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #46 / 550
  • Number of attempts: 6
hello-world-vimgolf - 2389 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #119 / 678
  • Number of attempts: 9
From argument to object - 1475 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 17
  • Position: #162 / 451
  • Number of attempts: 4
fengc
Twitter:

programmer, Linux geek

entered into 7 challenges

contributed 0 challenges