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 5c742a5a50bdf70006d43280

Box it

Create a box around a line.

Start file
My dream is to be in a box
End file
###############################
# My dream was to be in a box #
###############################

View Diff

1c1,3
< My dream is to be in a box
---
> ###############################
> # My dream was to be in a box #
> ###############################

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 1876 remaining solutions by signing in and submitting your own entry
#1877 Daniel Snitkovskiy / @DSnitkovskiy - Score: 198 - 04/07/19 @ 06:27
i<CR>jk<BS><BS><Esc>:source .vimrc<CR>$i<Right><CR>#jkbwyiwpppppp0ywppp$XXbbBBbbbbbbppppp0ywpppp$###bbjkjk<Esc><CR>nijkbbbbbbbbi# jkkjk$i##jk/my<CR><Esc>nn<CR><CR>jk$ijXjkxXjkki###jXjkXxkji<Right> #<CR><BS>jkhllw$i####jkjbbbbbbbbxiwajkbbbbbb$i#jkjji#jk:x<CR>

0 comments


Created by: @TitouanT_

1877 active golfers, 7906 entries

Leaderboard (lowest score wins):
24
#901 - Ageless O₂ Absorber / @dr_barnowl

12/16/2019 at 10:36PM

24
#902 - Bennett / @bennettbackward

12/26/2019 at 02:46AM

24
#903 - Кирилл Перехода / @drevnii_alex

12/26/2019 at 12:20PM

24
#904 - Anton Kriese / @AntonKriese

01/02/2020 at 12:05AM

24
#905 - John Kevin Estrella / @kevsestrella

01/07/2020 at 01:58PM

24
#906 - Victor Tortolero / @MightyPenguinV

01/21/2020 at 03:19PM

24
#907 - Brent Westbrook / @westbrook_brent

01/21/2020 at 10:31PM

24
#908 - cardoiltardo / @cardoiltardo

02/04/2020 at 04:17PM

24
#909 - nico S / @der_nico_93

02/05/2020 at 12:45PM

24
#910 - Falafel Palapel / @falafelpalapel

02/11/2020 at 06:34PM

24
#911 - jackjsk / @jackjsk1

02/12/2020 at 05:18AM

24
#912 - Владек / @escept1c

02/15/2020 at 06:54PM

24
#913 - perTheGolfer / @GolferPer

02/18/2020 at 08:46AM

24
#914 - Ticktockrobotsnot99 / @akashrrao

02/19/2020 at 04:23AM

24
#915 - Marius Jurgelenas / @MarenasLT

02/21/2020 at 03:09PM

24
#916 - stevan / @stevan76107116

03/05/2020 at 04:47AM

24
#917 - Marcin Gramza / @temperski

03/05/2020 at 10:19PM

24
#918 - 63RC-LRMn-cXC4-v8NJ / @63rcV

03/14/2020 at 04:50PM

24
#919 - vicver09 / @vicver091

03/19/2020 at 02:19AM

24
#920 - BnnGolfer / @BnnGolfer

03/19/2020 at 11:05PM

24
#921 - bluemartian / @bluemartianz59

03/21/2020 at 05:21PM

24
#922 - Apox / @apox159

03/23/2020 at 10:59PM

24
#923 - Seve / @Seve_py

04/09/2020 at 05:11PM

24
#924 - {{ profile.name }} / @bytesonly

04/28/2020 at 02:00PM

24
#925 - andmpr / @andmpr1

04/28/2020 at 11:28PM

24
#926 - インベスターS / @S42197397

05/02/2020 at 06:48AM

24
#927 - Soumadeep Saha / @SoumadeepSaha8

05/07/2020 at 12:38AM

24
#928 - Quentin Leroy / @qnleroy

05/07/2020 at 02:50PM

24
#929 - Fabian Ahbeck / @FAhbeck

05/08/2020 at 07:52PM

24
#930 - Dionysus / @user101user

05/08/2020 at 11:29PM