From d82a46a490673050babf189fa940c92ce0d44659 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sun, 10 Nov 2024 17:13:12 +0100 Subject: [PATCH] nvim: ignore /nix/store and cargo files in shada / oldfiles + friends --- home/common/nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/common/nvim/init.lua b/home/common/nvim/init.lua index 823392f..90f5db6 100644 --- a/home/common/nvim/init.lua +++ b/home/common/nvim/init.lua @@ -58,7 +58,10 @@ vim.o.fillchars = "stl: ,stlnc: ,eob:░,vert:│" vim.o.icm = "split" vim.o.list = false 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.smoothscroll = true vim.o.splitkeep = "screen" vim.o.timeoutlen = 10 vim.o.timeout = true