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 53d93fc3768e280002124f23

V to the i

Input is 99 V's. Output is 100 i's.

Start file
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
End file
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

View Diff

1c1
< VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
---
> iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

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 1591 remaining solutions by signing in and submitting your own entry
#1592 Theodore DeRego / @tedsta0 - Score: 23 - 12/08/15 @ 03:14
ii<Esc>:5s<BS><BS>%s/V/i/gd<BS><CR>:wq<CR>

0 comments


Created by: @udioica

1592 active golfers, 3903 entries

Leaderboard (lowest score wins):
10
#1501 - Paul Inc / @hiniol1982

07/13/2017 at 03:31AM

10
#1502 - Paul Sohn / @pksohn

09/06/2017 at 10:33PM

10
#1503 - Richard Godden / @goddenrich

10/18/2017 at 05:53PM

10
#1504 - William Hamilton / @BobHamiltonijk

08/03/2018 at 05:55AM

10
#1505 - PCS Solutions / @PeteSolutions

08/09/2018 at 07:01PM

10
#1506 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:56PM

10
#1507 - gsvba / @gsvba

09/18/2018 at 10:28PM

10
#1508 - Dave Brda / @BrdaDave

10/29/2018 at 08:55PM

10
#1509 - Kasparas Lavrukaitis / @kaslvr

11/07/2018 at 03:47PM

10
#1510 - Shunichi Kanade / @shunkana

11/18/2018 at 02:31AM

10
#1511 - Oren Koriat / @KoriatOren

12/06/2018 at 05:59PM

10
#1512 - Matthias Kausl / @sig_segv

04/25/2019 at 06:30PM

10
#1513 - YesSwear / @yesswore

05/20/2019 at 03:06PM

11
#1514 - Kai Howelmeyer / @kaihowl

08/10/2014 at 04:31PM

11
#1515 - Dmitry Teslenko / @krab_mozga

08/13/2014 at 01:19PM

11
#1516 - ЕвгенийВ / @imater

10/27/2014 at 05:36AM

11
#1517 - Michael Leong / @mhwleong

12/03/2014 at 02:34PM

11
#1518 - Adir / @adir

01/08/2015 at 03:37PM

11
#1519 - Nicolai Skogheim / @NicolaiSkogheim

01/24/2015 at 02:04AM

11
#1520 - Jason Spafford / @JasonSpafford

05/27/2015 at 05:20PM

11
#1521 - Nicola A / @aitkenster

07/29/2015 at 04:48PM

11
#1522 - Joachim / @errrsooo

09/01/2015 at 10:41PM

11
#1523 - Feras / @faldah

04/24/2016 at 03:11AM

11
#1524 - Micha / @michman89

08/10/2016 at 10:46AM

11
#1525 - Netznarkose / @netznarkose

07/28/2017 at 09:20AM

11
#1526 - Omar Zeidan / @OZeidan97

11/13/2018 at 12:41PM

11
#1527 - Thiago Preischadt / @TPreischadt

07/10/2019 at 02:38AM

12
#1528 - Máté Marjai / @marjaimate

08/08/2014 at 07:29PM

12
#1529 - Simon Mölzer / @h0wser

08/28/2014 at 07:12AM

12
#1530 - sodasamurai / @pease_justin

09/05/2014 at 09:18PM