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 580c21b5c177c54b0d067069

Start coding format

I used to start coding with following format: int main(){ -(cursor here) }

Start file
_
End file
int main(){
    _
}

View Diff

1c1,3
< _
---
> int main(){
>     _
> }

Solutions by @mihaicristiant:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @heehcs

70 active golfers, 147 entries

Solutions by @mihaicristiant:
22
#28 - Mihai / @mihaicristiant

03/25/2019 at 10:20AM

24
#>58 - Mihai / @mihaicristiant

03/25/2019 at 10:19AM

25
#>62 - Mihai / @mihaicristiant

10/31/2017 at 06:30AM

26
#>66 - Mihai / @mihaicristiant

03/25/2019 at 10:18AM

27
#>67 - Mihai / @mihaicristiant

10/31/2017 at 06:26AM

27
#>67 - Mihai / @mihaicristiant

03/25/2019 at 10:17AM

28
#>68 - Mihai / @mihaicristiant

03/25/2019 at 10:16AM