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 @GavinKoeng:

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

76 active golfers, 284 entries

Solutions by @GavinKoeng:
22
#27 - Gavin / @GavinKoeng

12/01/2025 at 02:24AM

26
#>33 - Gavin / @GavinKoeng

12/01/2025 at 02:23AM

28
#>34 - Gavin / @GavinKoeng

12/01/2025 at 02:20AM

46
#>36 - Gavin / @GavinKoeng

12/01/2025 at 02:16AM

61
#>41 - Gavin / @GavinKoeng

12/01/2025 at 02:10AM

61
#>41 - Gavin / @GavinKoeng

12/01/2025 at 02:14AM

63
#>42 - Gavin / @GavinKoeng

12/01/2025 at 01:55AM

93
#>45 - Gavin / @GavinKoeng

11/30/2025 at 02:29PM

96
#>48 - Gavin / @GavinKoeng

11/30/2025 at 02:21PM

96
#>48 - Gavin / @GavinKoeng

11/30/2025 at 02:22PM

102
#>56 - Gavin / @GavinKoeng

11/30/2025 at 02:19PM

124
#>58 - Gavin / @GavinKoeng

11/30/2025 at 02:17PM

130
#>60 - Gavin / @GavinKoeng

11/30/2025 at 02:16PM

139
#>65 - Gavin / @GavinKoeng

11/30/2025 at 02:14PM