Hi Christian,

On 26/10/2019 16:52, Christian Brabandt wrote:
> On Fr, 25 Okt 2019, Sihera Andre wrote:
>
>> 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.
> You might also try the 'n flag for the viminfo option. IIRC, it worked
> correctly using full path years ago, while the viminfofile option is a
> relative recent addition. Might be indeed a bug.

I checked the online help and while I can find an explanation of
the "n" option there is no explanation on how to actually set it.

My current "viminfo" setting is:

     viminfo='100,<50,s10,h

How do I add the "-n" option to the current setting? If I want to
specify the filename "~/mnt/secure-home/.viminfo" to this list
then what should I specify?

     :set viminfo= <what???>

Incidentally, why isn't this kind of fundamental explanation in the
online help? Another debate for another time.


Kind Regards,

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

Raspunde prin e-mail lui