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

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

49 active golfers, 178 entries

Solutions by @maharba6:
51
#24 - maharba6 / @maharba6

09/06/2024 at 12:04PM