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 @Ajay-056:

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

49 active golfers, 178 entries

Solutions by @Ajay-056:
23
#19 - ak@developer / @Ajay-056

09/08/2024 at 10:22AM

51
#>24 - ak@developer / @Ajay-056

09/08/2024 at 10:20AM

69
#>27 - ak@developer / @Ajay-056

09/08/2024 at 10:12AM