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 9v006637d03a00000000026f

Find anomalies

There is one special character per line

Start file
print("OPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQ0PQOPQOPQOPQ")
print("123123123123123123l23123123123123123123123123123")
print("hijkhijkhijkhijkhijkhijkhijkhijkhijkhijkhijkһijk")
print("klmnkImnklmnklmnklmnklmnklmnklmnklmnklmnklmnklmn")
print("2342342342342342342342Ʒ4234234234234234234234234")
print("ijkijkijkijkijkijkijkijkijkijkijkijkijκijkijkijk")

# vim:ft=python
End file
print("OPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQ0PQOPQOPQOPQ")
print("                                    ^           ")
print("123123123123123123l23123123123123123123123123123")
print("                  ^                             ")
print("hijkhijkhijkhijkhijkhijkhijkhijkhijkhijkhijkһijk")
print("                                            ^   ")
print("klmnkImnklmnklmnklmnklmnklmnklmnklmnklmnklmnklmn")
print("     ^                                          ")
print("2342342342342342342342Ʒ4234234234234234234234234")
print("                      ^                         ")
print("ijkijkijkijkijkijkijkijkijkijkijkijkijκijkijkijk")
print("                                      ^         ")

# vim:ft=python

View Diff

1a2
> print("                                    ^           ")
2a4
> print("                  ^                             ")
3a6
> print("                                            ^   ")
4a8
> print("     ^                                          ")
5a10
> print("                      ^                         ")
6a12
> print("                                      ^         ")

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 41 remaining solutions by signing in and submitting your own entry
#42 Kenneth Seet / @itstrueitstrueitsrealitsreal - Score: 418 - 05/06/24 @ 07:54
koiprint<BS><BS><BS><BS><BS><BS>ptint<BS><BS><BS><BS><BS>print <BS>("                                      <BS><BS>^           ")<Esc>joprint("                    <BS><BS>^                             ")<Esc>joprint("                                             <BS>^   ")<Esc>joprint("     &<BS>^                                          ")<Esc>joprint("                      ^                         ")j<BS><Esc>joprint <BS>("                                      ^         ")<Esc>kkkkkkkkkkl<Esc><Esc><Esc>:wq<CR>

0 comments


Created by: @maharba6

42 active golfers, 157 entries

Leaderboard (lowest score wins):
57
#31 - Swaraj Dash / @swarajdash

12/27/2024 at 07:04PM

59
#32 - dennis / @nagolove

05/21/2024 at 12:49PM

59
#33 - Herman Stavelin / @HerSta

07/01/2024 at 07:45AM

59
#34 - gnragazzi / @gnragazzi

08/02/2024 at 09:23PM

71
#35 - Giacomo Sansone / @pcineverdies

06/24/2024 at 09:02PM

82
#36 - efettf / @efettf

11/01/2024 at 08:14PM

85
#37 - Bart Hageman / @BartHageman

09/09/2024 at 10:21PM

87
#38 - VKWHM / @VKWHM

08/23/2024 at 05:02PM

98
#39 - Chloe Brett / @chloebrett

11/12/2024 at 07:47AM

230
#40 - Etrama / @Etrama

02/23/2025 at 04:08AM

294
#41 - jdascenzio / @jdascenzio

05/07/2024 at 02:24PM

418
#42 - Kenneth Seet / @itstrueitstrueitsrealitsreal

05/06/2024 at 07:54AM