Sunday, August 16, 2020

How to quiet the message when filtering...

I have a line in a shell script like:

vim -c '%!someFilter' someFile

The idea is to run the contents of someFile through someFilter before doing further editing.

It works fine, except for one thing. After the filter runs, but before displaying the file onscreen, it displays a message at the bottom of the screen saying something like "60 lines filtered. Press any key to continue", after which it then clears the screen and displays the file for normal editing.

There is no need for that message and pause. I would like it to go directly into the vi editing mode. Is there any way to do that?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1537497916.2054480.1597597359837%40mail.yahoo.com.

No comments: