set bufhidden=hide
setlocal noswapfile
file [p4 diff\]
+ " Map q to quit easily.
+ nnoremap <silent> <buffer> q <C-W>q
+
+ " Vim 7.4 really doesn't want us to quit windows from a script.
+ try
+ au QuitPre * qa!
+ catch
+ endtry
" Switch back to the top window and put the cursor by the description.
wincmd k