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

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: 34
  • Position: #5 / 67
  • Number of attempts: 3
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: #34 / 176
  • Number of attempts: 3
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: #139 / 370
  • Number of attempts: 4
Fix the shell script! - 1857 entries

Fix the shell script with the fewest keystrokes!

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

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #119 / 604
  • Number of attempts: 9
From argument to object - 1450 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 / 444
  • Number of attempts: 4
fengc
Twitter:

programmer, Linux geek

entered into 6 challenges

contributed 0 challenges