title: How to abort vimdiff in between viewing files?
body: <p>In my <code>.subversion/config</code> file, I have set <code>diff-cmd</code> as a script which invokes <code>vimdiff</code> to view the changes.</p>
  
  <p>Following is my problem:
  I am viewing diff between two svn URLS, which have 10 files modified. The <code>svn diff url1 url2</code> command would open the diff of first file. Issuing :qa in vim would show the diff of second file. Now, is there a way to quit vim altogether, aborting further viewing of diffs (other than running :qa for remaining 8 times)? </p>
  
  <p>Update:
  Following is my script:</p>
  
  <pre><code>#!/bin/sh 
  
  # use vimdiff to view diffs
  DIFF="/usr/bin/vimdiff -o"
  
  
  NUM=$#  # number of arguments
  LEFT=${6} # old file
  RIGHT=${7} # new file
  L_TITLE=${3} # actual name and revision of old file
  R_TITLE=${5} # actual name and revision of new file
  ST="${L_TITLE}"
  
  # get the file name
  NAME=`echo $ST | tr -s ' ' '\n' | head -1` 
  L_BRANCH=`echo $L_TITLE | tr -s ' ' '\n' | head -2 | tail -1`
  R_BRANCH=`echo $R_TITLE | tr -s ' ' '\n' | head -2 | tail -1`
  
  # get the old and new revision numbers
  L_REV=`echo $L_TITLE | tr -s '(' '\n' | cut -d ')' -f1 | tail -1 | tr -s ' ' '_' `
  R_REV=`echo $R_TITLE | tr -s '(' '\n' | cut -d ')' -f1 | tail -1 | tr -s ' ' '_' `
  
  L_REV=`echo "${L_BRANCH}__${L_REV}"`
  R_REV=`echo "${R_BRANCH}__${R_REV}"`
  
  # invoke vim
  $DIFF $LEFT $RIGHT -c "setl stl=$NAME%20{'$L_REV'} | wincmd W | setl stl=$NAME%20{'$R_REV'}"
  </code></pre>