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 5cb9d07d716c1b0009f69a40

ninja substitution

How can you reuse a previous substitution ?

Start file
Trying to careninjafully make a ninja challenge.
This ninjaninjachallenge is ninjadesigned to show a particularninja vim ninjafeature (here I am ninjastalling in order to ninjadoge a shorter ninjacounter-based ninjasolution, sorry for the ninjaheadhache) this is the end of my ninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjalninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaininjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjanninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaeninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninja.
The question is, will a wiser vimgolf ninja defeat the purpose of this challenge ?
End file
Trying to carefully make a ninja challenge.
This challenge is designed to show a particular vim feature (here I am stalling in order to doge a shorter counter-based solution, sorry for the headhache) this is the end of my line.
The question is, will a wiser vimgolf ninja defeat the purpose of this challenge ?

View Diff

1,2c1,2
< Trying to careninjafully make a ninja challenge.
< This ninjaninjachallenge is ninjadesigned to show a particularninja vim ninjafeature (here I am ninjastalling in order to ninjadoge a shorter ninjacounter-based ninjasolution, sorry for the ninjaheadhache) this is the end of my ninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjalninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaininjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjanninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaeninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninja.
---
> Trying to carefully make a ninja challenge.
> This challenge is designed to show a particular vim feature (here I am stalling in order to doge a shorter counter-based solution, sorry for the headhache) this is the end of my line.

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 218 remaining solutions by signing in and submitting your own entry
#219 Aaron / @_Lordofthevoid_ - Score: 133 - 11/24/19 @ 09:44
fn;dfajFn;;;dfadfafn;dfafn;dfafnNfnhh.fn.fn;;.lllllllllllllll.fn;.fNfn;.fn.ufn.....5.10.10.10.20.30.30.30.10.20.212.12.A<BS>line<Esc>a.<Esc>:wq<CR>

0 comments


Created by: @TitouanT_

219 active golfers, 1116 entries

Leaderboard (lowest score wins):
18
#151 - Karnival K / @K4rnival

01/21/2020 at 06:57PM

18
#152 - jackmark / @jackmar14540583

07/15/2020 at 11:46AM

18
#153 - vito / @vito49999722

07/31/2020 at 07:50AM

18
#154 - Theo Sarrazin / @tshaero

08/18/2020 at 01:53PM

19
#155 - Sean Sullivan / @_seanyneutron

07/11/2019 at 07:26PM

19
#156 - vicver09 / @vicver091

10/28/2019 at 06:46PM

19
#157 - TimMcGuire / @mcguire

11/04/2019 at 05:15PM

19
#158 - Rune Warhuus / @DinkDonkNorway

01/23/2020 at 02:06PM

19
#159 - BnnGolfer / @BnnGolfer

03/26/2020 at 09:37PM

19
#160 - vvaannaa3 / @vvaannaa3

04/02/2020 at 10:56AM

19
#161 - Yannick / @Yannick88147038

06/12/2020 at 03:18PM

20
#162 - Bruce Woodward / @b00ffer

04/21/2019 at 06:57AM

20
#163 - Thilan Tran / @ThilanTran

04/21/2019 at 07:13PM

20
#164 - Fredrik Bjerkås / @fbjerkas

04/21/2019 at 08:51PM

20
#165 - Roman Vrublevskiy / @R0manza

04/22/2019 at 08:31PM

20
#166 - Steve Racanovic / @steve_racanovic

01/16/2020 at 08:50PM

20
#167 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 12:07PM

20
#168 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 02:33PM

21
#169 - Benoit Benoit / @Benoit_Tgt

04/19/2019 at 02:14PM

21
#170 - 김형창 / @uVmEMZsCgcYvqZi

04/24/2019 at 09:20AM

21
#171 - Madelyn Freed / @EcoBummer

09/04/2019 at 08:04PM

21
#172 - Harsh Raj / @harshraj22aug

03/09/2020 at 04:32PM

22
#173 - Cj-bc_sd.sh🐟@mltermコンパイルチャレンジ / @Cj_bc_sd

04/19/2019 at 02:01PM

22
#174 - Tucker Hayden / @TuckNRollio

04/19/2019 at 06:25PM

22
#175 - Takayuki Sato / @yukitaka1974

06/30/2019 at 02:41PM

22
#176 - Scott Schlesier / @sschlesier

07/23/2019 at 12:29AM

22
#177 - Nicolas Pagny / @NicolasPagny

12/12/2019 at 03:58PM

23
#178 - vimgolfer24271 / @vimgolfer24271

05/10/2019 at 10:44AM

23
#179 - Sherab Giovannini / @shaddycls

05/18/2019 at 05:38PM

23
#180 - Jan Wedekind / @wedesoft

05/30/2019 at 08:22PM