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

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

72 active golfers, 155 entries

Solutions by @nickandbro:
22
#33 - nickGPT / @nickandbro

08/28/2024 at 03:02AM

23
#>38 - nickGPT / @nickandbro

08/28/2024 at 03:02AM

24
#>62 - nickGPT / @nickandbro

08/28/2024 at 03:02AM

25
#>68 - nickGPT / @nickandbro

08/28/2024 at 03:01AM

27
#>70 - nickGPT / @nickandbro

08/28/2024 at 03:01AM

29
#>72 - nickGPT / @nickandbro

08/28/2024 at 03:01AM