This is a nice quick and simple top to remove duplicate lines in vi.
All you need to do is press escape, then type
There are loads of ways to do this, but this is quick while in the editor
I am always interested in feedback so please feel free to add any comments, or you can mail me here. If you would like to submit a quick tip with full credit and links back to your site then also feel free to contact me.