nvim: ignore /nix/store and cargo files in shada / oldfiles + friends

This commit is contained in:
Daniel Lundin 2024-11-10 17:13:12 +01:00
parent 663119c828
commit d82a46a490
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -58,7 +58,10 @@ vim.o.fillchars = "stl: ,stlnc: ,eob:░,vert:│"
vim.o.icm = "split" vim.o.icm = "split"
vim.o.list = false vim.o.list = false
vim.o.scrolloff = 7 vim.o.scrolloff = 7
vim.o.shada = vim.o.shada .. ',r~/.cargo/,r~/go/,r/nix/store/,r/run/,r/tmp/,rhealth:,rterm:'
vim.o.showcmd = false
vim.o.showmode = false vim.o.showmode = false
vim.o.smoothscroll = true
vim.o.splitkeep = "screen" vim.o.splitkeep = "screen"
vim.o.timeoutlen = 10 vim.o.timeoutlen = 10
vim.o.timeout = true vim.o.timeout = true