Sun, 05 May 2024 13:58:24 -0500
use classic plugin auto-load path
.config/nvim/init.lua | file | annotate | diff | comparison | revisions | |
.config/nvim/lua/local/encrypted.lua | file | annotate | diff | comparison | revisions | |
.config/nvim/lua/local/tig.lua | file | annotate | diff | comparison | revisions | |
.config/nvim/plugin/gpg-encrypted.lua | file | annotate | diff | comparison | revisions | |
.config/nvim/plugin/tig.lua | file | annotate | diff | comparison | revisions |
--- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -7,9 +7,6 @@ require("config.lsp") require("config.autocmds") require("config.commands") -require("local.tig") -require("local.encrypted") - -- >> Builtin g.netrw_altfile = 1 g.netrw_use_errorwindow = 0
rename from .config/nvim/lua/local/encrypted.lua rename 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(_)