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 by @alythobani:

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

72 active golfers, 279 entries

Solutions by @alythobani:
22
#26 - Aly Thobani / @alythobani

11/23/2025 at 11:37PM

23
#>30 - Aly Thobani / @alythobani

11/23/2025 at 11:37PM

23
#>30 - Aly Thobani / @alythobani

11/23/2025 at 11:40PM

24
#>33 - Aly Thobani / @alythobani

11/23/2025 at 11:36PM

28
#>34 - Aly Thobani / @alythobani

11/23/2025 at 11:35PM

30
#>35 - Aly Thobani / @alythobani

11/23/2025 at 11:34PM

42
#>36 - Aly Thobani / @alythobani

11/23/2025 at 11:31PM

54
#>40 - Aly Thobani / @alythobani

11/23/2025 at 11:29PM

86
#>42 - Aly Thobani / @alythobani

11/23/2025 at 11:27PM

96
#>48 - Aly Thobani / @alythobani

11/23/2025 at 11:26PM

126
#>57 - Aly Thobani / @alythobani

11/23/2025 at 11:24PM