remove duplicate line and use vimproc