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 50ee7504c0e3aa0002000040

Prefixes and suffixes

Generate all prefixes of "vimchallenge", then all suffixes.

Start file
vimchallenge
End file
vimchallenge
vimchalleng
vimchallen
vimchalle
vimchall
vimchal
vimcha
vimch
vimc
vim
vi
v

vimchallenge
imchallenge
mchallenge
challenge
hallenge
allenge
llenge
lenge
enge
nge
ge
e

View Diff

1a2,25
> vimchalleng
> vimchallen
> vimchalle
> vimchall
> vimchal
> vimcha
> vimch
> vimc
> vim
> vi
> v
> 
> vimchallenge
> imchallenge
> mchallenge
> challenge
> hallenge
> allenge
> llenge
> lenge
> enge
> nge
> ge
> e

Solutions by @PThree072740750:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @runarfu

201 active golfers, 635 entries

Solutions by @PThree072740750:
17
#24 - pc three0727 / @PThree072740750

04/16/2023 at 10:45AM

17
#>24 - pc three0727 / @PThree072740750

04/16/2023 at 10:47AM

21
#>41 - pc three0727 / @PThree072740750

04/16/2023 at 10:42AM

22
#>47 - pc three0727 / @PThree072740750

04/16/2023 at 09:29AM

23
#>66 - pc three0727 / @PThree072740750

04/16/2023 at 09:26AM

23
#>66 - pc three0727 / @PThree072740750

04/16/2023 at 09:28AM

26
#>99 - pc three0727 / @PThree072740750

04/16/2023 at 09:12AM

27
#>113 - pc three0727 / @PThree072740750

04/16/2023 at 08:05AM

30
#>155 - pc three0727 / @PThree072740750

04/16/2023 at 08:03AM