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

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

50 active golfers, 179 entries

Solutions by @Noct943:
20
#7 - Qingz / @Noct943

10/08/2024 at 07:08PM

21
#>13 - Qingz / @Noct943

10/08/2024 at 07:03PM

22
#>15 - Qingz / @Noct943

10/08/2024 at 06:44PM

22
#>15 - Qingz / @Noct943

10/08/2024 at 06:56PM

28
#>21 - Qingz / @Noct943

10/08/2024 at 06:40PM

44
#>22 - Qingz / @Noct943

10/08/2024 at 06:25PM

51
#>25 - Qingz / @Noct943

10/08/2024 at 06:19PM

52
#>27 - Qingz / @Noct943

10/08/2024 at 05:55PM

96
#>32 - Qingz / @Noct943

10/08/2024 at 05:35PM

97
#>33 - Qingz / @Noct943

10/08/2024 at 05:33PM

99
#>33 - Qingz / @Noct943

10/08/2024 at 05:29PM

125
#>38 - Qingz / @Noct943

10/08/2024 at 05:18PM

139
#>44 - Qingz / @Noct943

10/08/2024 at 05:08PM