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

Flip All Bits

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

Start file
binary0 = 0b00000000_00001001_00010010_00011011
binary1 = 0b00100100_00101101_00110110_00111111
binary2 = 0b01000000_01001001_01010010_01011011
binary3 = 0b01100100_01101101_01110110_01111111
binary4 = 0b10000000_10001001_10010010_10011011
binary5 = 0b10100100_10101101_10110110_10111111
binary6 = 0b11000000_11001001_11010010_11011011
binary7 = 0b11100100_11101101_11110110_11111111
End file
binary0 = 0b11111111_11110110_11101101_11100100
binary1 = 0b11011011_11010010_11001001_11000000
binary2 = 0b10111111_10110110_10101101_10100100
binary3 = 0b10011011_10010010_10001001_10000000
binary4 = 0b01111111_01110110_01101101_01100100
binary5 = 0b01011011_01010010_01001001_01000000
binary6 = 0b00111111_00110110_00101101_00100100
binary7 = 0b00011011_00010010_00001001_00000000

View Diff

1,8c1,8
< binary0 = 0b00000000_00001001_00010010_00011011
< binary1 = 0b00100100_00101101_00110110_00111111
< binary2 = 0b01000000_01001001_01010010_01011011
< binary3 = 0b01100100_01101101_01110110_01111111
< binary4 = 0b10000000_10001001_10010010_10011011
< binary5 = 0b10100100_10101101_10110110_10111111
< binary6 = 0b11000000_11001001_11010010_11011011
< binary7 = 0b11100100_11101101_11110110_11111111
---
> binary0 = 0b11111111_11110110_11101101_11100100
> binary1 = 0b11011011_11010010_11001001_11000000
> binary2 = 0b10111111_10110110_10101101_10100100
> binary3 = 0b10011011_10010010_10001001_10000000
> binary4 = 0b01111111_01110110_01101101_01100100
> binary5 = 0b01011011_01010010_01001001_01000000
> binary6 = 0b00111111_00110110_00101101_00100100
> binary7 = 0b00011011_00010010_00001001_00000000

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 104 remaining solutions by signing in and submitting your own entry
#105 Kasper Kivimäki / @KasperKivimaeki - Score: 224 - 05/22/26 @ 13:51
wwll<C-Q>G$:s/1/2/g<CR>ww<C-Q><C-C><C-C>ll<C-Q>kkkkkkkk$:<Up><Left><Left><Left><Left><Left><Left><Left><Del><Right><Del>0<Right><Del>1<CR>:<Up><BS><CR>:<C-C>wwjjjjll<C-C><C-C>kj<50-53>vimgolf put 9v0069cf0efc000000000786<Esc>[201~<C-C><C-C>u<C-Q>kkkkkkk<C-C><C-C>h<C-A><C-C><C-C>u<C-Q>jjjjjjj$:<Up><Left><Left><Left><Left><Left>s<CR>wwwuwlwll<C-S><C-Q>jjjjjjj$:<Up>g<CR>www<C-Q>kkkkkkk0ww:<Up><Left><Left><BS>0<Left><Left><BS>2<CR>ww<C-Q>kkkkkkk<C-X>hhhhjjr2kr1kr0:wq<CR>

0 comments


Created by: @maharba6

105 active golfers, 328 entries

Leaderboard (lowest score wins):
61
#91 - Tom Bragg / @TomBraggg

05/19/2026 at 01:28PM

61
#92 - Delta Null / @Null-Delta

05/28/2026 at 01:56PM

63
#93 - Binaryman / @Bynaryman

05/11/2026 at 10:26AM

64
#94 - maharba6 / @maharba6

04/03/2026 at 12:57AM

68
#95 - Константин / @kostya_sem

05/09/2026 at 10:17PM

68
#96 - Paul / @gitchhiker

06/04/2026 at 08:12AM

71
#97 - Yondonjamts Ganzorig / @nxic

04/17/2026 at 03:16AM

75
#98 - Eertze van de Riet / @eevdriet

05/20/2026 at 02:13PM

83
#99 - Hoffen / @he1219

04/19/2026 at 09:48AM

89
#100 - Mateus Verffel Mayer / @mateus-mayer

04/17/2026 at 03:23PM

99
#101 - Xclipxe / @Xclipxe

05/25/2026 at 09:25AM

108
#102 - aReigoto / @aReigoto

04/10/2026 at 10:06AM

118
#103 - Emek Cohen / @EmekC

04/25/2026 at 02:27PM

181
#104 - Ichikawa Tomoya / @ahiru401066

05/22/2026 at 03:09PM

224
#105 - Kasper Kivimäki / @KasperKivimaeki

05/22/2026 at 01:51PM