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 @lvturkeyman:

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

72 active golfers, 155 entries

Solutions by @lvturkeyman:
22
#25 - Turkey Man / @lvturkeyman

11/26/2017 at 09:17AM

24
#>57 - Turkey Man / @lvturkeyman

11/26/2017 at 09:15AM

24
#>57 - Turkey Man / @lvturkeyman

11/26/2017 at 09:16AM