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

Word completion

Try to complete these options within 20 keystrokes.

Start file
set noco
set autoi
set showc
set noba
set num
set rul
set hls
set incs
set showm
set igno
set smartc
set novi
set backs
set scrollof
End file
set nocompatible
set autoindent
set showcmd
set nobackup
set number
set ruler
set hlsearch
set incsearch
set showmatch
set ignorecase
set smartcase
set novisualbell
set backspace=indent,eol,start
set scrolloff=3

View Diff

1,14c1,14
< set noco
< set autoi
< set showc
< set noba
< set num
< set rul
< set hls
< set incs
< set showm
< set igno
< set smartc
< set novi
< set backs
< set scrollof
---
> set nocompatible
> set autoindent
> set showcmd
> set nobackup
> set number
> set ruler
> set hlsearch
> set incsearch
> set showmatch
> set ignorecase
> set smartcase
> set novisualbell
> set backspace=indent,eol,start
> set scrolloff=3

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 57 remaining solutions by signing in and submitting your own entry
#58 Allenzxm15 / @Allenzxm15 - Score: 224 - 10/30/24 @ 17:30
dGi<50-53>set nocompatible<CR>set autoindent<CR>set showcmd<CR>set nobackup<CR>set number<CR>set ruler<CR>set hlsearch<CR>set incsearch<CR>set showmatch<CR>set ignorecase<CR>set smartcase<CR>set novisualbell<CR>set backspace=indent,eol,start<CR>set scrolloff=3<Esc>[201~<Esc>ZZ

0 comments


Created by: @maharba6

58 active golfers, 207 entries

Leaderboard (lowest score wins):
52
#31 - servearv / @servearv

09/26/2024 at 01:29AM

63
#32 - Staring / @StaringWhere

12/13/2024 at 03:14AM

93
#33 - SnakitoGamer4160 / @SnakitoGamer4160

11/08/2024 at 10:33PM

93
#34 - Mahmoud Kamal / @mahmoudkamal4792

11/10/2024 at 09:07PM

93
#35 - jaunxter / @jaunxter

04/01/2025 at 03:23AM

96
#36 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:37PM

96
#37 - IroncladDev / @IroncladDev

09/17/2024 at 08:26PM

96
#38 - Biswajit / @biswajitpatra

02/19/2025 at 12:11PM

97
#39 - Alex Weeren / @AlexWeeren

09/07/2024 at 01:01PM

99
#40 - Yumaoo / @YutaoZhaoo

03/31/2025 at 09:11AM

100
#41 - rk0730 / @rk0730

10/26/2024 at 05:41AM

101
#42 - einrock / @einrock

09/08/2024 at 01:30AM

101
#43 - Kelvin Newton / @Kelvination

03/24/2025 at 01:20PM

102
#44 - peterxiaoli / @moxuetianya

09/07/2024 at 07:18AM

103
#45 - Wim Stockman / @wimstockman

11/09/2024 at 02:58PM

108
#46 - MichaelNewbold / @MichaelNewbold

10/30/2024 at 09:47PM

126
#47 - Vishal Subramanyam / @VishalSubramanyam

09/21/2024 at 06:02AM

131
#48 - stcrd / @stcrd

09/10/2024 at 10:01AM

132
#49 - Villon Zhang / @zvillon

09/27/2024 at 11:41AM

133
#50 - Joseph Yu / @Jouzep

09/27/2024 at 11:38AM

135
#51 - Steven Dong / @BRENNS

09/27/2024 at 11:33AM

138
#52 - Neix20 / @Neix20

09/25/2024 at 02:23AM

146
#53 - Tony Tran / @Troxifox

09/27/2024 at 11:29AM

154
#54 - vincent / @vincent50788

09/21/2024 at 05:14AM

162
#55 - kimoto / @kimoto

09/06/2024 at 11:24PM

164
#56 - DayuanX / @DayuanX

10/14/2024 at 07:40AM

170
#57 - Jiajun Yan / @Yjejuy

09/07/2024 at 06:20AM

224
#58 - Allenzxm15 / @Allenzxm15

10/30/2024 at 05:30PM