The Ex commands seem superior, not least because they don't rely on 
unportable `sed -i` 
(cf. https://benknoble.github.io/blog/2020/08/06/stop-sed-i/). Why the 
`:silent` prefix to `:substitute`, though?

On Monday, May 9, 2022 at 12:18:17 PM UTC-4 lacygoill wrote:

> If you want an immediate fix, try to run these shell commands:
>
> Or execute these Ex commands:
>
> :call mkdir($HOME . '/.vim/ftplugin/', 'p')
> :edit $HOME/.vim/ftplugin/abaqus.vim
> :read $VIMRUNTIME/ftplugin/abaqus.vim
> :silent 90,94 substitute/s:/b:/
> :write
>
> —
> Reply to this email directly, view it on GitHub 
> <https://github.com/vim/vim/issues/10391#issuecomment-1121306465>.
>
> You are receiving this because you are subscribed to this thread.Message 
> ID: <vim/vim/issues/10391/[email protected]>
>

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/dc56bbd3-512a-48d2-8ce6-47b21634e0dcn%40googlegroups.com.

Raspunde prin e-mail lui