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 539c50b188b4e20002053e38

Where should I put the Newline?

Help me put the newline.

Start file
You see this --->newline<--- that is the newline.
End file
You see this --->
<--- that is the newline.

View Diff

1c1,2
< You see this --->newline<--- that is the newline.
---
> You see this --->
> <--- that is the newline.

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 308 remaining solutions by signing in and submitting your own entry
#309 no name / vimgol - Score: 8 - 01/28/15 @ 18:56
fncw<CR><Esc>ZZ

0 comments


#310 Roman Firt / RomanFirt - Score: 8 - 01/29/15 @ 20:22
fncw<CR><Esc>ZZ

0 comments


#311 Алексанр Цыганков / capybarov - Score: 8 - 02/13/15 @ 15:24
fncw<CR><Esc>ZZ

0 comments


#312 d1uckym d1uckym / d1uckym - Score: 8 - 02/16/15 @ 06:45
fncw<CR><Esc>ZZ

0 comments


#313 OlivierLi / LiZhongSin - Score: 8 - 02/16/15 @ 21:01
fncw<CR><Esc>ZZ

0 comments


#314 Dmitry Zudochkin / vredniy - Score: 8 - 02/18/15 @ 10:26
4wcw<CR><Esc>ZZ

0 comments


#315 Matthew Bender / iobender - Score: 8 - 03/02/15 @ 20:52
fncw<CR><Esc>ZZ

0 comments


#316 Elizabeth / sprinkles418 - Score: 8 - 03/03/15 @ 19:24
fnce<CR><Esc>ZZ

0 comments


#317 Mariano Macchi / mmacchif - Score: 8 - 03/06/15 @ 12:00
fncw<CR><Esc>ZZ

0 comments


#318 dosmanak / dosmanak - Score: 8 - 03/09/15 @ 15:53
fncw<CR><Esc>ZZ

0 comments


#319 Martin Liberg / marreman - Score: 8 - 03/09/15 @ 20:40
fncw<CR><Esc>ZZ

0 comments


#320 TheProgrammer971 / tp971 - Score: 8 - 03/14/15 @ 02:49
fncw<CR><Esc>ZZ

0 comments


#321 Martijn Pepping / mpepping - Score: 8 - 03/15/15 @ 21:08
fncw<CR><Esc>ZZ

0 comments


#322 Deepak Surti / dmsurti - Score: 8 - 03/17/15 @ 13:33
fncw<CR><Esc>ZZ

0 comments


#323 ɐʇnɥsɐpoʇ / todashuta - Score: 8 - 03/25/15 @ 13:52
fnce<CR><Esc>ZZ

0 comments


#324 pftb12345 / pftb12345 - Score: 8 - 03/27/15 @ 14:28
fncw<CR><Esc>ZZ

0 comments


#325 Garrett Smith / garrettwhsmith - Score: 8 - 03/29/15 @ 17:28
fncw<CR><Esc>ZZ

0 comments


#326 Assaf Lavie / AssafLavie - Score: 8 - 04/22/15 @ 19:01
fnce<CR><Esc>ZZ

0 comments


#327 Tom van der Lee / TomVdLee - Score: 8 - 04/29/15 @ 11:32
fnce<CR><Esc>ZZ

0 comments


#328 π / paivaspol - Score: 8 - 05/08/15 @ 02:44
fncw<CR><Esc>ZZ

0 comments


#329 Clark DuVall / theclarkatron - Score: 8 - 05/18/15 @ 06:55
fncw<CR><Esc>ZZ

0 comments


#330 Klemen Košir / KarboniteKream - Score: 8 - 05/26/15 @ 13:34
fncw<CR><Esc>ZZ

0 comments


#331 luffy / raxcoi - Score: 8 - 06/06/15 @ 16:54
fncw<CR><Esc>ZZ

0 comments


#332 Sahana Rajasekar / sahanarajasekar - Score: 8 - 06/11/15 @ 04:21
fncw<CR><Esc>ZZ

0 comments


#333 Joel Gallant / joelg236 - Score: 8 - 06/18/15 @ 19:59
fncw<CR><Esc>ZZ

0 comments


#334 Kyle Fuller / kylefuller - Score: 8 - 07/17/15 @ 02:15
fncw<CR><Esc>ZZ

0 comments


#335 Scott Traver / ScottTraver - Score: 8 - 08/13/15 @ 20:14
fncw<CR><Esc>ZZ

0 comments


#336 Lifepillar / lifepillar - Score: 8 - 08/14/15 @ 18:36
fncw<CR><Esc>ZZ

0 comments


#337 John Clara / johnanthclara - Score: 8 - 08/24/15 @ 20:42
fncw<CR><Esc>ZZ

0 comments


#338 Gerald Tilma / GeraldTilma - Score: 8 - 10/18/15 @ 19:52
fncw<CR><Esc>ZZ

0 comments


#339 NuM / NuM314 - Score: 8 - 10/21/15 @ 17:27
fnd;r<CR>ZZ

0 comments


#340 merphant / merphant - Score: 8 - 10/24/15 @ 05:48
fncw<CR><Esc>ZZ

0 comments


#341 Daniel Imhoff / dwieeb - Score: 8 - 10/24/15 @ 20:42
fncw<CR><Esc>ZZ

0 comments


#342 ORchard test / BilboBrovall - Score: 8 - 10/26/15 @ 12:11
fncw<CR><Esc>ZZ

0 comments


#343 Bogumił Kamiński / BogumilKaminski - Score: 8 - 10/26/15 @ 20:48
fncw<CR><Esc>ZZ

0 comments


#344 VimGolfUser / UserVim - Score: 8 - 11/11/15 @ 00:29
fncw<CR><Esc>ZZ

0 comments


#345 Dave Powell / d_pow_pow - Score: 8 - 11/13/15 @ 12:55
fncw<CR><Esc>ZZ

0 comments


#346 kiou / smallletterquu - Score: 8 - 12/04/15 @ 23:57
fncw<CR><Esc>ZZ

0 comments


#347 Paulo Romeira / pauloromeira - Score: 8 - 12/07/15 @ 07:28
fncw<CR><Esc>ZZ

0 comments


#348 Jakob Schöttl / jschoettl - Score: 8 - 12/20/15 @ 05:09
fnce<CR><Esc>ZZ

0 comments


#349 Etienne Tremel / etiennetremel - Score: 8 - 02/07/16 @ 20:45
fncw<CR><Esc>ZZ

0 comments


#350 Cristian Lupașcu / clupasq - Score: 8 - 02/21/16 @ 13:19
fncw<CR><Esc>ZZ

0 comments


#351 Tran Duc Thang / thangtd90 - Score: 8 - 03/06/16 @ 08:33
fncw<CR><Esc>ZZ

0 comments


#352 Chenut Ludovic / 7Brwa7 - Score: 8 - 04/05/16 @ 12:18
fncw<CR><Esc>ZZ

0 comments


#353 tPenguinLTG / tpenguinltg - Score: 8 - 05/15/16 @ 07:05
fncw<CR><Esc>ZZ

0 comments


#354 some call me mattp / mattpep - Score: 8 - 05/16/16 @ 22:05
fnce<CR><C-O>ZZ

0 comments


#355 Luke Was / acatalepteron - Score: 8 - 08/15/16 @ 23:46
fncw<CR><Esc>ZZ

0 comments


#356 TweetDreams / TweetMusicians - Score: 8 - 10/15/16 @ 18:46
fncw<CR><Esc>ZZ

0 comments


#357 Christian Rondeau / c_rondeau - Score: 8 - 10/18/16 @ 02:02
fncw<CR><Esc>ZZ

0 comments


#358 BlackCap / BlackCapCoder - Score: 8 - 11/30/16 @ 13:07
fncw<CR><Esc>ZZ

0 comments


#359 Michał Dytko / DytkoM - Score: 8 - 12/23/16 @ 09:00
fncw<CR><Esc>ZZ

0 comments


#360 Kevin Ash / ashkevinm - Score: 8 - 04/14/17 @ 17:35
fncw<CR><Esc>ZZ

0 comments


#361 Solomon / Trugbildjaeger - Score: 8 - 04/15/17 @ 14:17
fncw<CR><Esc>ZZ

0 comments


#362 Jonas Sunde V / sunde_v - Score: 8 - 08/04/17 @ 17:20
fncw<CR><Esc>ZZ

0 comments


#363 Saul Hardman / saulhardman - Score: 8 - 08/11/17 @ 08:56
fnce<CR><Esc>ZZ

0 comments


#364 Paul Draghicescu / pdragy - Score: 8 - 03/22/18 @ 22:50
fncw<CR><Esc>ZZ

0 comments


#365 Nicholas Ockmsson / Nockm - Score: 8 - 05/04/18 @ 23:37
fncw<CR><Esc>ZZ

0 comments


#366 Jan Wedekind / wedesoft - Score: 9 - 06/22/14 @ 21:24
fndwi<CR><Esc>ZZ

0 comments


#367 Derek Bever / derekbever - Score: 9 - 06/23/14 @ 02:31
fndei<CR><Esc>ZZ

0 comments


#368 TapTemplate / TapTemplate - Score: 9 - 06/25/14 @ 22:20
fnct<<CR><Esc>ZZ

0 comments


#369 Jacob Joaquin / JacobJoaquin - Score: 9 - 06/30/14 @ 02:48
fndwi<CR><Esc>ZZ

0 comments


#370 MonkeyBrains ISP / monkeybrainsnet - Score: 9 - 07/26/14 @ 07:18
fncw<CR><Esc>:x<CR>

0 comments


#371 daveseibert / daveseibert - Score: 9 - 08/02/14 @ 03:19
fndwi<CR><Esc>ZZ

0 comments


#372 Adv_Zxy / adv_zxy - Score: 9 - 08/22/14 @ 05:08
fndwi<CR><Esc>ZZ

0 comments


#373 Justin Knag / justinknag - Score: 9 - 08/28/14 @ 11:52
fncw<CR><C-C><C-C>ZZ

0 comments


#374 A / Tower_1980 - Score: 9 - 11/09/14 @ 11:26
fndwi<CR><Esc>ZZ

0 comments


#375 ಸುಬ್ರಹ್ಮಣ್ಯ ಜೋಶಿ / subbucoding - Score: 9 - 03/29/15 @ 13:52
fndwi<CR><Esc>ZZ

0 comments


#376 chvzvhn / chvzvhn - Score: 9 - 04/27/15 @ 04:48
4wdwi<CR><Esc>ZZ

0 comments


#377 Pablo Cobelli / pablocobelli - Score: 9 - 06/21/16 @ 03:54
fnciw<CR><Esc>ZZ

0 comments


#378 Paul Inc / hiniol1982 - Score: 9 - 09/17/17 @ 13:40
fni<CR><Esc>dwZZ

0 comments


#379 compiled wrong / compiledwrong - Score: 10 - 06/16/14 @ 06:55
fncw<CR><Esc>:wq<CR>

0 comments


#380 Jesse Hixson / jhixson - Score: 10 - 06/20/14 @ 20:47
fncw<CR><Esc>:wq<CR>

0 comments


#381 James Zhao / h221baker - Score: 10 - 08/19/14 @ 05:52
fncw<CR><Esc>:wq<CR>

0 comments


#382 LSMTD / LSMTD - Score: 10 - 12/09/14 @ 03:34
fncw<CR><Esc>:wq<CR>

0 comments


#383 Joshua Rose / pythagory - Score: 11 - 06/24/14 @ 18:25
fndwi<CR><Esc>:wq<CR>

0 comments


#384 Netznarkose / netznarkose - Score: 12 - 02/12/15 @ 17:39
fni<CR><Esc>dw<Esc>:wq<CR>

0 comments


#385 Max Jacobson / maxjacobson - Score: 12 - 11/06/15 @ 20:45
/n<CR>dwi<CR><Esc>:wq<CR>

0 comments


#386 Gurukandhamoorthi / Gurukandhamoor1 - Score: 15 - 07/11/17 @ 14:47
:s/>.*</>\r<<CR>ZZ

0 comments


Created by: aditcr8

386 active golfers, 770 entries

Leaderboard (lowest score wins):
7
#1 - Adit Cahya Ramadhan / aditcr8

06/14/2014 at 02:17PM

7
#2 - Amit Verma / amitv12

06/14/2014 at 02:30PM

7
#3 - Tim Chase / gumnos

06/14/2014 at 03:58PM

7
#4 - Urtica dioica / udioica

06/14/2014 at 04:53PM

7
#5 - Nathan Seither / NathanSeither

06/14/2014 at 05:59PM

7
#6 - Pavlo Klets / p01nt

06/14/2014 at 07:21PM

7
#7 - Joop Pascha / PaschaJ

06/14/2014 at 07:28PM

7
#8 - Chaitanya Desu / ChaituNu

06/14/2014 at 08:44PM

7
#9 - Jacob Niehus / wilywampa

06/14/2014 at 11:01PM

7
#10 - Sntano Euhsk / SEuhsk

06/14/2014 at 11:31PM

7
#11 - yaon / yaon4

06/15/2014 at 02:03AM

7
#12 - Alec Johanson / alecj007

06/15/2014 at 03:25PM

7
#13 - Robert Siemieniec / rsiemieniec

06/15/2014 at 07:02PM

7
#14 - Herr Oppermann / HerrOppermann

06/15/2014 at 08:34PM

7
#15 - Leland Paul Kusmer / lelandpaul

06/15/2014 at 11:36PM

7
#16 - Petro Тrouq / zulolosi

06/16/2014 at 01:57AM

7
#17 - Mina Naguib / minaguib

06/16/2014 at 02:49AM

7
#18 - Max Sherman / johnislarry

06/16/2014 at 04:56AM

7
#19 - Bart / oneofmanybarts

06/16/2014 at 06:46AM

7
#20 - typp / tehtyppz

06/16/2014 at 12:01PM

7
#21 - Kai Yuan / kentyuan

06/16/2014 at 12:33PM

7
#22 - vimgolf copycat / vimgolf_copycat

06/16/2014 at 05:31PM

7
#23 - Alexander Bandukwala / abanduk

06/16/2014 at 06:20PM

7
#24 - Tyler Holien / tylerholien

06/17/2014 at 02:52PM

7
#25 - Edric Garran / edric_garran

06/17/2014 at 09:30PM

7
#26 - Timmy! / timx

06/17/2014 at 10:05PM

7
#27 - Marcin Kumorek / qmmr

06/18/2014 at 08:30AM

7
#28 - Dmitry Teslenko / krab_mozga

06/18/2014 at 10:48AM

7
#29 - John Braxler / braxler

06/18/2014 at 04:45PM

7
#30 - Nicolas Valcarcel / nxvl

06/18/2014 at 10:39PM