Skip to content

Instantly share code, notes, and snippets.

@Steven-Rose
Created October 24, 2012 04:27
Show Gist options
  • Save Steven-Rose/3943830 to your computer and use it in GitHub Desktop.
Save Steven-Rose/3943830 to your computer and use it in GitHub Desktop.
VI: Select all + delete, select all + copy
Select all and delete (actually move to buffer)
:%d
Select all and copy to buffer
:%y
Use p to paste the buffer.
@BunHouth
Copy link

+1

@sundareswarans
Copy link

+1

@deven003
Copy link

Thanks, it worked.

@nicholasblexrud
Copy link

+1

@assocoppa
Copy link

+1

@hrishikesh
Copy link

👍 💯

@z2z
Copy link

z2z commented Apr 24, 2016

+1

@CoffiDev
Copy link

CoffiDev commented May 4, 2016

👍

@Jonarzz
Copy link

Jonarzz commented May 4, 2016

👍

@nsunnivo
Copy link

nsunnivo commented Jun 9, 2016

👍

@rwoloszyn
Copy link

+1

@blakrin
Copy link

blakrin commented Jul 13, 2016

Thanks

@johannes112
Copy link

+1

@arshadkazmi42
Copy link

Worked

@huyinjie
Copy link

@minikomi
Copy link

minikomi commented Sep 7, 2016

xreqmk7etcak0

@marctorresbcn
Copy link

Goood!

@StanleyEbenezer123
Copy link

+1

@hndr91
Copy link

hndr91 commented Feb 11, 2017

👍

@prayagupa
Copy link

👍

@AntoscencoVladimir
Copy link

+1

@leoliaolei
Copy link

Thank you!

@arenadoon
Copy link

👍

@0x008800
Copy link

Very useful! Thank!

@pedropinheiro75
Copy link

Thank!

@saudkhanzada
Copy link

👍

@Weavingtempest
Copy link

♡ ♡ ♡ ♡ ♡ ♡ ♡

@random-char1198
Copy link

+1

@Docetom
Copy link

Docetom commented Dec 4, 2020

thanks

@masterbpro
Copy link

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment