title: vim search and copy lines including pattern
body: <p>I use the following VIM command, to copy all lines including a pattern to the end of the file
  <code>:g/pattern/t$</code><br>
  But I also want the previous or the line below of the matched line copied too</p>