On 1/13/20 10:22 AM, 'Andy Wokula' via vim_use wrote:
> You can set a key with :set key=mycoolkey
Interesting.
> This works here (doubles quotes = on Windows):
>
> vim --cmd "set key=mycoolkey" mynicefile.txt
I wonder if it would be possible to play with other methods to populate
the "mycoolkey" text. Admittedly, they aren't as Windows friendly.
Environment variables are the first thing that comes to mind.
After that is file redirection, possibly from a sub-command.
Finally, a full sub-command that extracts the password out of something,
possibly GPG protected file. }:-)
> (needless to say this is not recommended ...)
I know that the typical gotchas are the output of ps (et al.) and
methods to access other processes environment variables. What other
concerns are there that my uncaffeinated brain is missing?
--
Grant. . . .
unix || die
--
--
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/61f70749-65e2-5066-de17-a1f6db20abf6%40spamtrap.tnetconsulting.net.
No comments:
Post a Comment