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 36 remaining solutions by signing in and submitting your own entry
#37 Jiajun Yan / @Yjejuy - Score: 170 - 09/07/24 @ 06:20
$ampatible<Esc>jandent<Esc>jaase<Esc>jackupja<BS><BS><Esc>od<BS><Esc>ddAber<Esc>jaer<Esc>jasear<BS><BS><BS><BS>earch<Esc>jaearch<Esc>jaatch<Esc>jaore<BS><BS><BS>recaw<BS>se<Esc>jaase<Esc>jasualbell<Esc>japace=indent,eol,start<Esc>jaf=3<Esc>:wq<Esc><BS><BS>k10kxxxxacmd<Esc>:wq<CR>

0 comments


Created by: @maharba6

37 active golfers, 116 entries

Leaderboard (lowest score wins):
20
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

09/07/2024 at 02:39AM

20
#2 - Peppa Pig / @PeppaPi95550250

09/07/2024 at 05:27AM

20
#3 - Casey O'Donnell / @CaseyOD15519082

09/08/2024 at 02:38PM

20
#4 - John Braxler / @braxler

09/09/2024 at 05:53PM

20
#5 - Janusz Spatz / @janusz-anue

09/13/2024 at 04:01PM

20
#6 - Petro Тrouq / @zulolosi

09/23/2024 at 04:09AM

20
#7 - Qingz / @Noct943

10/08/2024 at 07:08PM

21
#8 - Adi / @adi2004

09/16/2024 at 08:39AM

21
#9 - Gustav Kristensen / @gustavkrist

10/01/2024 at 03:48PM

21
#10 - JMTed / @JMTed

10/08/2024 at 01:25PM

22
#11 - Jamie-505 / @Jamie-505

09/10/2024 at 06:48PM

22
#12 - John Huynh / @huynh_j93

09/19/2024 at 10:54PM

23
#13 - Roger Stoltz / @rogsto1

09/06/2024 at 01:43PM

23
#14 - ak@developer / @Ajay-056

09/08/2024 at 10:22AM

23
#15 - reatter / @reatter

09/17/2024 at 12:01PM

24
#16 - ShookerAndBeta / @Shooker2012

09/18/2024 at 01:04PM

29
#17 - Oogway101 / @ninja2004123

09/19/2024 at 04:36PM

49
#18 - rhasarub / @rhasarub

09/09/2024 at 10:04AM

51
#19 - maharba6 / @maharba6

09/06/2024 at 12:04PM

51
#20 - Brett Collins / @brett-collins_cbhq

10/04/2024 at 04:08AM

52
#21 - MatFriend / @MatFriend

09/19/2024 at 02:47AM

52
#22 - servearv / @servearv

09/26/2024 at 01:29AM

96
#23 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:37PM

96
#24 - IroncladDev 🔩 / @IroncladDev

09/17/2024 at 08:26PM

97
#25 - Alex Weeren / @AlexWeeren

09/07/2024 at 01:01PM

101
#26 - einrock / @einrock

09/08/2024 at 01:30AM

102
#27 - peterxiaoli / @moxuetianya

09/07/2024 at 07:18AM

126
#28 - Vishal Subramanyam / @VishalSubramanyam

09/21/2024 at 06:02AM

131
#29 - stcrd / @stcrd

09/10/2024 at 10:01AM

132
#30 - Villon Zhang / @zvillon

09/27/2024 at 11:41AM