To remove duplicate lines just press Ctrl + F, select the “Replace” tab and in the “Find” field, place: ^(.*?)$\s+?^(?=.*^\1$). In search mode check “Regular expression” and click on replace all.