vi tips and tricks

Sort from within vi

:%sort - Sort whole file

:%sort! - Sort file - in reverse

:%!sort - Sort using external sort utility

Til Ke Laddoo

On the occassion of Makar Sakranti, I always make Til ke Laddoo. My husband also loves them and they are really quick to make.



250 gm White Til (Sesame seeds)

250 gm Boora (Powdered Sugar)

250 gm Khoya

Almonds - handful - chopped.

Creating a patch using diff

diff is the a linux command line program, and is where patch files originated. It requires that you have two copies of the code, one with your changes, and one without.

Tip - Boil extra stuff

Whenever I need to make Rajma / cholle/ lobhiya etc., I always make sure that I boil double the amount I need. Once boiled and cooled, I put the extra in an airtight container in the freezer. 

D7 to D8 Migration

I tried to do a D7 to D8 migration using this series of blogs:


And I was able to get Vocabularies, terms and content migrated. Yay!!!

Some learnings:

Dahi Bhalle!!! (Non-fried)

Our family loves dahi bhalle - but I am sometimes a bit concerned about the fact that they are fried :(

So I tried this non-fried method of making them - and I am impressed (Even if I say so myself)

Raw Mango Launji

I love this launji. This is a must have for us at all times during the summer when raw mangos are in season. 


Git tips and tricks

git rebase --interactive 8bf4b651207c8e60abf3822a276868942f1efe7a

git commit --amend --author="Suchi Garg <>"

git rebase --continue

Problem - squash commits