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

Groups magic

Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()

Start file
(a) (abc) (abcd) (123456)
End file
___ _____ ______ ________

View Diff

1c1,2
< (a) (abc) (abcd) (123456)
---
> ___ _____ ______ ________
>

Solutions by @PeppaPigSg:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @uzver

94 active golfers, 161 entries

Solutions by @PeppaPigSg:
13
#18 - Peppa Pig / @PeppaPigSg

05/28/2024 at 04:31AM

14
#>71 - Peppa Pig / @PeppaPigSg

05/28/2024 at 04:30AM

15
#>82 - Peppa Pig / @PeppaPigSg

05/28/2024 at 04:30AM

16
#>85 - Peppa Pig / @PeppaPigSg

05/28/2024 at 04:29AM