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

Add string initializers to an enum - 256 entries

Change Typescript enum so that it has string initializers.

  • Best score: 2
  • Best player score: 32
  • Number of attempts: 1
Box it - 3855 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 4
citizen_hacks_2019_challenge2 - 106 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 2
Cool or not? - 536 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 3
Simple, Practical, and Common - 26206 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: 14
  • Best player score: 23
  • Number of attempts: 6
citizen_hacks_2019_challenge5 - 61 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 2
One number per line - 13748 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 7
Line under headers - 402 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 27
  • Best player score: 27
  • Number of attempts: 6
citizen_hacks_2019_challenge4 - 46 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
remove lines containing the word "reader" - 2003 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
Add semicolons - 3535 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 9
Swap values - 3684 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 5
SCREAMING_SNAKE_CASE to Title Case - 256 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: 20
  • Number of attempts: 7
EL KESRI Othmane
Twitter:

entered into 13 challenges

contributed 0 challenges