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
1c1
< # vim:ro:noma
---
> W10: Warning: Changing a readonly file
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock
28 remaining solutions by
signing in and submitting your own entry
#29
Piskis / @Piskis -
Score: 102 -
01/10/26 @ 14:50
<fd-6d><fd-6d>:set noro ma<CR>A<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>W10 <BS><BS>:<BS>)<BS>_<BS>-:<BS><BS><BS><BS><BS><50-53>W10: Warning: Changing a readonly file<Esc>[201~<Esc><Esc><Esc><Esc><Esc>:wq<CR>
0 comments
29 active golfers, 99 entries
Leaderboard (lowest score wins):
11/01/2024 at 07:03AM
11/15/2024 at 08:16AM
#4 - Alexander Cai / @adzcai
02/09/2025 at 05:22AM
04/13/2025 at 03:16PM
05/08/2025 at 06:06PM
05/25/2025 at 03:53PM
08/05/2025 at 06:26AM
11/23/2025 at 10:46PM
12/26/2025 at 02:06AM
10/15/2024 at 05:09AM
10/17/2024 at 12:24PM
11/05/2024 at 12:58AM
08/28/2025 at 12:42AM
12/21/2024 at 10:16AM
10/31/2024 at 09:50PM
05/20/2025 at 05:49PM
10/03/2024 at 05:40PM
10/29/2024 at 12:31AM
05/29/2025 at 09:11AM
02/10/2026 at 11:44PM
03/01/2025 at 08:31PM
11/17/2024 at 10:15PM
12/30/2024 at 12:48PM
10/03/2024 at 07:42AM
02/15/2026 at 08:05PM
03/31/2025 at 05:38PM
01/22/2026 at 01:38PM
01/10/2026 at 02:50PM