:Hi
when vim is used as part of a pipe on Unix/Linux (console-vim)
like
ls -l * | vim -
the resulting textbuffer is marked as changed. Doing a
:q
will have a
"No write since last chance"
response.
Reading a file from another "filedescriptor" (and stdin is a
"filedescriptor",too) like
vim file.txt
and doing a
:q
afterwards will end vim without warning.
I want to make this behaviour more consistant/logical to me, so
only _texual changes_ to what is read from stdin into vim should
have the "No write since last change"-response when trying to leave
vim with
:q
The only problem ;) I have is: I dont know what I have to tweak
and how...!!!(?)
Thank you very much for any help in advance !
Kind regards,
mcc
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---