Monday, August 17, 2020

Re: How to quiet the message when filtering...

Yes! "sil" works well - in the simple case. Thanks for that.

Now, on to the next. Suppose we have another command like:

vim -c '...' -c '...' -c '...' and so on and so forth - a long series of commands that modify the text, then finally dump me into the editor. I want all of them silenced - and it to go directly into the editor with no pausing. Assume it is either impractical or impossible to put "sil" in front of every command.

Is there a some setting or other to turn on silent mode globally?

On Sunday, August 16, 2020, 01:03:02 PM EDT, 'J S' via vim_use <vim_use@googlegroups.com> wrote:


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.

--
--
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/1716265748.2602541.1597711876459%40mail.yahoo.com.

No comments:

Post a Comment