Hi,
may be it is too late this evening
(and this is a too stupid question therefore...;) ... but...
Is it possible to use something in the manner of
ls -l | vim -
and haveing vim starting up with a filled
buffer, where I only have to do a ":w" to
save, what stdin gave me to a file, which
name was give somewhere in the commandline
above.
I dont mean to do things like
ls -l > filename.txt && vim filename.txt
or
:w filename.txt
afterwards. It should something like (this is an example.
I know, it does not work!)
ls -l | vim --use-fname filename.txt -
???
Thank you very much for any help in advance !
Have a nice weekend!
Kind regards,
Meino Cramer
--
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
-~----------~----~----~----~------~----~------~--~---