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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
15
#1861 - Noah Gumbert / @Noahrama

07/01/2016 at 04:34AM

15
#1862 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 02:23PM

15
#1863 - Batuhan Bayrakçı / @bay_batu

09/24/2016 at 03:10PM

15
#1864 - Matt Walsh / @wattmalsh

02/06/2017 at 02:34AM

15
#1865 - tapio / @gncnaxb

03/12/2018 at 12:53PM

15
#1866 - Tom / @atomgrand

05/02/2018 at 06:27PM

15
#1867 - touilleMan / @touilleMan

07/29/2018 at 11:35PM

15
#1868 - tuyen / @tuyen66827418

11/27/2018 at 03:07PM

15
#1869 - @peri4n@mathstodon.xyz / @peri4n

01/28/2019 at 01:27AM

15
#1870 - Zach E-R / @Tweet_First

05/20/2019 at 12:21PM

15
#1871 - Jakob / @sucaml

07/29/2019 at 09:04AM

15
#1872 - Aioriya / @AioriyaDonk

08/26/2019 at 11:04PM

15
#1873 - Andrew Ferrier / @andrewferrier

02/02/2020 at 01:25AM

15
#1874 - Sarayut Lawilai / @imkopkap

05/13/2020 at 09:21AM

15
#1875 - gino / @imGinoW

05/25/2020 at 12:55PM

15
#1876 - Kevin / @KevbotSSBM

01/18/2021 at 06:47AM

16
#1877 - Claus Witt / @clauswitt

12/16/2014 at 03:22PM

16
#1878 - Christian Guenter / @chris_guenter

05/23/2015 at 08:50AM

16
#1879 - Michael Hagl / @MichaelHagl

05/02/2016 at 03:48PM

16
#1880 - Nat / @ntzm_

07/18/2016 at 07:11AM

16
#1881 - jack / @jack28887741

02/21/2017 at 02:49PM

16
#1882 - Jess / @Jess74311450

06/13/2019 at 03:25PM

16
#1883 - Dzmitry / @Dzmitry88489136

07/24/2020 at 07:08AM

16
#1884 - fff / @fff51460170

02/20/2021 at 07:10AM

16
#1885 - Luis Fernando Rodríguez Vargas / @LuisFerRodVar

06/25/2024 at 08:01PM

17
#1886 - したろう / @shitaro2012

01/02/2015 at 09:04AM

17
#1887 - Rich Archer / @ArcherRJ

01/15/2016 at 07:38PM

17
#1888 - walter sullivan / @walters82208305

02/19/2016 at 04:45PM

17
#1889 - Lidiya Ponomareva / @LidiyaPonomare3

12/05/2019 at 07:24PM

18
#1890 - Ryan O'Donnell / @bt_ryanodonnell

08/08/2014 at 03:55PM