HI Christian,

On 25/10/2019 18:24, Christian Brabandt wrote:
> On Fr, 25 Okt 2019, Sihera Andre wrote:
>
>> Except that .viminfo, which I would like to relocate to my encrypted
>> partitions, cannot be stored there because it can't be symbolic linked.
>>
>> This, for me, is the security hole. This file is permanently out in the open
>> and it contains all manner of information about my editing history. And
>> that information is increasing with each new major version of ViM. Plus the
>> fact that I don't like being told how to manage my security. Software should
>> be providing all features and setting reasonable defaults; not patronising
>> professionals by trying to "save them from themselves".
>>
>>
>> I think there should be another debate enabling .viminfo to be a symlink
>> and giving computer professionals the ability to manage their own security.
> Have you tried the 'viminfofile' option setting?
>
> Best,
> Christian

I didn't previously know about this option, but I have just tried it.

It works for the "-i" command line invocation but a single line

     set viminfofile="...."

in .vimrc does not seem to have any effect. ViM ignores the setting
in .vimrc and only seems to be looking at the command line "-i" option.

The whole advantage (and, I dare say, security risk) of using a symlink
is that the symlink can point to any location but the symlink itself can
stay in the same place. Having to encode a pre-resolved location to a 
physical
device in an "alias" just so I can specify the "-i" option when I launch 
"vi"
is not a satisfactory solution. It ties my ".profile" etc. to a single 
system
instead of being generic to all (my current) systems.

Cheers,

Andre.

-- 
-- 
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/PSXP216MB0277204CC9601DA70D7FF183C0650%40PSXP216MB0277.KORP216.PROD.OUTLOOK.COM.

Raspunde prin e-mail lui