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

remove lines containing the word "reader" - 2825 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Quote modules - 615 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 29
  • Number of attempts: 4
Add semicolons - 7771 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 822 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 72
  • Number of attempts: 1
-a-b-c- - 2863 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
prepend * to every non-blank line - 2644 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 5
Coder's Crib
Twitter:

Just an intermediate coder of my generation 😏😀

entered into 6 challenges

contributed 0 challenges