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

Re: Prepending an string option

2020-08-17 Thread Gary Johnson
On 2020-08-17, Gary Johnson wrote: > On 2020-08-17, Anton Shepelev wrote: > > Hello, all > > > > How can one prepend a Vim string option? I need to prepent > > formatlistpat for Markdown. I have tried to combine `set' > > and `execute()', but to no avail. `execute()' is documented > > as return

Re: Prepending an string option

2020-08-17 Thread Gary Johnson
On 2020-08-17, Anton Shepelev wrote: > Hello, all > > How can one prepend a Vim string option? I need to prepent > formatlistpat for Markdown. I have tried to combine `set' > and `execute()', but to no avail. `execute()' is documented > as returning the command output as a string, yet I can't >

Prepending an string option

2020-08-17 Thread Anton Shepelev
Hello, all How can one prepend a Vim string option? I need to prepent formatlistpat for Markdown. I have tried to combine `set' and `execute()', but to no avail. `execute()' is documented as returning the command output as a string, yet I can't seem to call it as a function and use the return v

macro or plugin -- which one is faster?

2020-08-17 Thread meine
Hi, Some tasks in vim are easily added with the use of a plugin, but you can also make a custom macro to to the same job. Making a macro has the advantage of better learning the workings of vim, and maybe not having the other functions a plugin has that I don't use. My feeling is that I make vim '