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

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

19 active golfers, 48 entries

Solutions by @MartnRamtin:
96
#12 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:37PM

99
#>14 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:34PM

108
#>16 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:28PM

120
#>16 - MartnRamtin / @MartnRamtin

09/07/2024 at 03:21PM