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

2020-08-20 Thread 'Andy Wokula' via vim_use
Am 19.08.2020 um 21:11 schrieb 'J S' via vim_use: But I am curious as to why you say that the Vim Developers are trying to avoid adding options. Is there any intrinsic reason why adding options is undesirable? I think it's more about the option in question: (1) a global silent mode can too easi

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

2020-08-19 Thread 'J S' via vim_use
So, having worked with it a bit, I'm now content with using "silent" to solve this issue. Although a little convoluted, it seems pretty straightforward to put all the commands into a function, and then create a command to call that function with silent. I.e..: command! MyCommand silent call M

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

2020-08-18 Thread Christian Brabandt
On Di, 18 Aug 2020, 'J S' via vim_use wrote: > Actually, I figured out from the help file a workaround, which is to put all > the commands into a function and then do: silent call Function() > > It is funny how often functions are the workaround for a lot of the quirks in > the Vim ecosystem

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

2020-08-18 Thread 'J S' via vim_use
Actually, I figured out from the help file a workaround, which is to put all the commands into a function and then do: silent call Function() It is funny how often functions are the workaround for a lot of the quirks in the Vim ecosystem. Anyway, I think I will go with that - at least for now

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

2020-08-18 Thread Christian Brabandt
On Di, 18 Aug 2020, 'J S' via vim_use wrote: > 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 finall

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

2020-08-17 Thread 'J S' via vim_use
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 - an

How to quiet the message when filtering...

2020-08-17 Thread Bantu Tu
vim -c 'sil%!someFilter' someFile :h :sil -- -- 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 t

How to quiet the message when filtering...

2020-08-16 Thread 'J S' via vim_use
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 b