ex

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ex

Paul-7
I see that starting Vim as "ex -s", while 'compatible' is set, doesn't open an rc file (as per POSIX ex), but does load plugins. Is that intentional? Should it not be as POSIX like as possible so that one-liners (eg., "ex -s file <<< $'s/foo/bar\nw'") are as compatible and as lightweight as possible? If plugins were desired in this scenario, one would call it as "vim".

For scripted one-liners, sadly, "ed" is not as widespread as I'd like. "ex" is an alternative, but is inefficient and could have unexpected consequences if a user's Vim plugins are loaded.

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.

signature.asc (817 bytes) Download Attachment