Re: clear screen on quit on filetype

2008-11-18 Thread Chris Suter
create a wrapper script for /usr/bin/vim containing the following: #!/bin/bash /usr/bin/vim $1 if [[ -f /tmp/was_editing_certain_type_of_file ]] then rm /tmp/was_editing_certain_type_of_file clear fi then, in your ~/.vimrc, add the following (assume you want to do this for anything

Re: clear screen on quit on filetype

2008-11-18 Thread Gary Johnson
On 2008-11-18, Noah Spurrier [EMAIL PROTECTED] wrote: Can someone suggest a way I can do the following? For certain filetypes I would like to have the screen cleared before Vim quits back to the shell prompt. For most filetypes I DO NOT want Vim to clear the screen. Is this getting too