On 24.09.21 09:36, Igor wrote:
> Content sample.sh file:
> #!/bin/bash
> echo "Start running vim commands inside bash program."
> vim +"so dummy.vim" << EOF
> :e text_file.txt
> :s/a/b/
> :x
> EOF
> echo "End of running run vim commands inside bash program."
...
> The only little bit annoying thing is the *Vim: Warning: Input is not from
> a terminal* message in terminal. How to suppress this message?
Start vim in Ex-mode?
vim +"so dummy.vim" -e << EOF
Bye, Andreas
--
--
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/d7c50152-e608-c774-fc00-c33136b16992%40gmail.com.
No comments:
Post a Comment