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 9v0066fe482500000000048f

Change readonly files

Try to write a file that was marked as read-only.

Start file
# vim:ro:noma
End file
W10: Warning: Changing a readonly file

View Diff

1c1
< # vim:ro:noma
---
> W10: Warning: Changing a readonly file

Solutions by @winter-loo:

Unlock 10 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

39 active golfers, 141 entries

Solutions by @winter-loo:
20
#14 - winter-loo / @winter-loo

10/14/2026 at 05:57AM

21
#>20 - winter-loo / @winter-loo

10/14/2026 at 05:50AM

22
#>21 - winter-loo / @winter-loo

10/14/2026 at 05:47AM

34
#>22 - winter-loo / @winter-loo

10/14/2026 at 05:44AM

38
#>24 - winter-loo / @winter-loo

10/14/2026 at 05:40AM

52
#>25 - winter-loo / @winter-loo

10/14/2026 at 05:37AM

53
#>27 - winter-loo / @winter-loo

05/29/2025 at 09:11AM

53
#>28 - winter-loo / @winter-loo

10/13/2026 at 09:26PM

55
#>31 - winter-loo / @winter-loo

10/13/2026 at 09:23PM

55
#>31 - winter-loo / @winter-loo

10/13/2026 at 09:24PM