copy from .config/nvim/lua/local/encrypted.lua copy to .config/nvim/plugin/gpg-encrypted.lua --- a/.config/nvim/lua/local/encrypted.lua +++ b/.config/nvim/plugin/gpg-encrypted.lua @@ -10,7 +10,7 @@ local function autocmd(event, opts) end autocmd({ "BufReadPre", "FileReadPre" }, { - command = [[ setl noswapfile noundofile nobackup viminfo= ]], + command = [[ setl noswapfile noundofile nobackup shada= ]], }) autocmd("BufReadPost", function(_)