Thinly slice the onion. Toss it up with some salt and allow it to sit for 5 minutes. Wash the onion and drain.
In a bowl or an air tight container, put the onion, green chillies and vinegar. Toss well to coat completely. Add salt to taste.
Let it rest in the fridge till serving time. Serve as side with biriyani or evening tea snacks.