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 by @gnragazzi:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

34 active golfers, 125 entries

Solutions by @gnragazzi:
59
#29 - gnragazzi / @gnragazzi

08/02/2024 at 09:23PM

66
#>29 - gnragazzi / @gnragazzi

08/02/2024 at 09:16PM