title: Removing a line from the buffer in a vim script
body: <p>According to <a href="http://vimdoc.sourceforge.net/htmldoc/usr_41.html#function-list" rel="noreferrer">http://vimdoc.sourceforge.net/htmldoc/usr_41.html#function-list</a> vim script has functions setline() and append() to modify the current buffer but how do i delete a line from within a script? With setline(1, "") the line is only emptied but I want to get rid of it.</p>