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 19 remaining solutions by signing in and submitting your own entry
#20 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

20 active golfers, 67 entries

Leaderboard (lowest score wins):
30
#1 - Lennart / @lennartack

05/06/2024 at 08:37PM

30
#2 - djheidihoe / @djheidihoe1

05/06/2024 at 08:58PM

30
#3 - wpr__ / @wpr____

05/06/2024 at 10:05PM

30
#4 - Peppa Pig / @PeppaPi95550250

05/07/2024 at 08:00AM

30
#5 - Jean George / @JeanGeo20504212

05/07/2024 at 03:34PM

30
#6 - John Braxler / @braxler

05/07/2024 at 04:30PM

30
#7 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

05/23/2024 at 07:39PM

30
#8 - Sander Meij / @SanderMeij

05/29/2024 at 12:55PM

33
#9 - Ivo Blöchliger / @aigledesalpes

05/07/2024 at 10:11AM

33
#10 - yberamb / @yberamb

05/11/2024 at 02:32PM

35
#11 - James Tan / @jamesbtan

05/06/2024 at 08:42PM

37
#12 - Casey O'Donnell / @CaseyOD15519082

05/12/2024 at 08:19PM

38
#13 - Smylers / @Smylers2

05/12/2024 at 02:17PM

40
#14 - haruto009 / @haruto009

05/23/2024 at 01:10PM

42
#15 - Aly Thobani / @alythobani

05/22/2024 at 05:35PM

45
#16 - cotarmanach / @cotarmanach

05/13/2024 at 07:04PM

51
#17 - Chris AtLee / @catlee

05/11/2024 at 02:46AM

59
#18 - dennis / @nagolove

05/21/2024 at 12:49PM

294
#19 - jdascenzio / @jdascenzio

05/07/2024 at 02:24PM

418
#20 - Kenneth Seet / @itstrueitstrueitsrealitsreal

05/06/2024 at 07:54AM