This isn't what you asked, of course, but it seems problematic to me to have the password become part of your command-line history in plain text. Defeats one of the protections provided by the encryption.
-- Salman On Sun, Jan 12, 2020, 10:24 Stevew <[email protected]> wrote: > is the a way to automatically put the password in the startup command. > E.G. > > vi -x mypassword mynicefile.txt > > This of course does not work. But is the a way to do something like this? > > thanks. > > -- > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vim_use/5a69ee06-aafe-4a4d-9221-6e325bf184ec%40googlegroups.com > <https://groups.google.com/d/msgid/vim_use/5a69ee06-aafe-4a4d-9221-6e325bf184ec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEdWY%3D4KMNt%2BjNxj3WgpYcfRy2L%2B0UDVY9HXRdwJ8SWjfw%40mail.gmail.com.
