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

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

49 active golfers, 178 entries

Solutions by @aaay-aaay:
20
#10 - aaay-aaay / @aaay-aaay

10/26/2024 at 02:13AM

21
#>13 - aaay-aaay / @aaay-aaay

10/26/2024 at 02:11AM

22
#>16 - aaay-aaay / @aaay-aaay

10/26/2024 at 02:04AM

36
#>22 - aaay-aaay / @aaay-aaay

10/26/2024 at 02:01AM