On 15/06/09 14:55, Matt Wozniski wrote: > > On Mon, Jun 15, 2009 at 8:40 AM, Tony Mechelynck wrote: >> >> On 09/06/09 17:06, Florian Breitwieser wrote: >>> Hi! >>> >>> Whe I'm working with vim on the console and I quit vim, the console >>> screen stays with the contents I last edited. That includes the >>> end-of-buffer lines marked by the tilde sign. >>> >>> Is there a way of telling vim to remove the tilde lines when exitting? >> >> If you are on X11, try applying the following patch to src/feature.h >> (after removing "> " in front of every line): >> See http://users.skynet.be/antoine.mechelynck/vim/compunix.htm if you >> need help on how to compile Vim on Unix/Linux. > ... >> IIUC, Vim versions for Unix/Linux compiled without +x11 all suffer from >> this problem, so be sure not to include --without-x in your configure >> arguments. > > Why recompile vim when you could just do > > set t_ti= t_te= > > in your ~/.vimrc? Sure, it's an option, but it's hardly a necessity. > And, still - that doesn't help with removing the ~ lines, it just > stops vim from changing to and from the altscreen. > > ~Matt
I misread, I didn't understand that you wanted to _keep_ the editfile bdisplay but _lose_ the tildes (replacing them by spaces and moving the next shell prompt to where they used to be). Best regards, Tony. -- "He's the kind of man for the times that need the kind of man he is ..." --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
