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

Reformat symbols in list - 1606 entries

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

  • Best score: 24
  • Best player score: 32
  • Position: #202 / 344
  • Number of attempts: 4
delete swap - 1768 entries

delete all swap

  • Best score: 5
  • Best player score: 7
  • Position: #418 / 548
  • Number of attempts: 4
Simple, Practical, and Common - 33571 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 36
  • Position: #6744 / 7405
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1214 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: 60
  • Position: #242 / 249
  • Number of attempts: 2
Add semicolons - 10845 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 19
  • Position: #2730 / 3060
  • Number of attempts: 3
Box it - 7902 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 38
  • Position: #1676 / 1874
  • Number of attempts: 2
Delete to the end of the current line - 810 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 8
  • Position: #371 / 389
  • Number of attempts: 5
William Kennedy
Twitter:

Indoor Explorer. Regularly imagine myself winning the Ballon D'or and World Cup for Ireland. Ruby, Swift and JS sprinkles. Working on https://t.co/vqz6l6xmOI

entered into 7 challenges

contributed 0 challenges