Yue Wu wrote:

As the title, I notice netrw will create a .netrwhist at my vimfile when on windows(don't know if it do on unix too), how to prevent it from the file creation for security issue sometime.

There's no built-in way to prevent .netrwhist generation at the current time.

However, you could delete the file immediately after it was generated, I suppose: (untested)

au VimLeave * if filereadable("[path here]/.netrwhist")|call delete("[path here]/.netrwhist")|endif

Regards,
Chip Campbell

--
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

Reply via email to