diff --git a/.config/lazygit/state.yml b/.config/lazygit/state.yml index 9c8ed83..d60cb05 100644 --- a/.config/lazygit/state.yml +++ b/.config/lazygit/state.yml @@ -1,15 +1,17 @@ lastupdatecheck: 0 recentrepos: -- /home/shubham/Documents/dotfiles -- /home/shubham/Documents/Programming/WebDev/page-form -- /home/shubham/Documents/Programming/WebDev/discord-clone -- /home/shubham/Downloads/GitClones/lfimg + - /home/shubham/Documents/dotfiles + - /home/shubham/Downloads/GitClones/srcbook + - /home/shubham/Documents/Programming/WebDev/page-form + - /home/shubham/Documents/Programming/WebDev/discord-clone + - /home/shubham/Downloads/GitClones/lfimg startuppopupversion: 5 -lastversion: 0.41.0 +lastversion: 0.44.1 customcommandshistory: [] hidecommandlog: false ignorewhitespaceindiffview: false diffcontextsize: 3 +renamesimilaritythreshold: 50 localbranchsortorder: recency remotebranchsortorder: alphabetical gitlogorder: topo-order diff --git a/.config/nvim-lazy/.gitignore b/.config/nvim-lazy/.gitignore index c85928c..f0d3191 100644 --- a/.config/nvim-lazy/.gitignore +++ b/.config/nvim-lazy/.gitignore @@ -6,7 +6,7 @@ debug foo.* *.log data -lazy-lock.json -lazyvim.json -README.md -LICENSE \ No newline at end of file +./lazy-lock.json +./lazyvim.json +./README.md +./LICENSE diff --git a/.config/nvim-lazy/lazy-lock.json b/.config/nvim-lazy/lazy-lock.json index 70e04d1..dc0695c 100644 --- a/.config/nvim-lazy/lazy-lock.json +++ b/.config/nvim-lazy/lazy-lock.json @@ -66,7 +66,7 @@ "nvim-lspconfig": { "branch": "master", "commit": "7b0a2f6b14485bb5a237fc1328a487ff3e4a08c5" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, - "nvim-treesitter": { "branch": "master", "commit": "454354e5998edb448111574e58d5f5f2d6a940bd" }, + "nvim-treesitter": { "branch": "master", "commit": "70d44dad700512460aa76e9299ed00e0f53f3164" }, "nvim-treesitter-context": { "branch": "master", "commit": "6b081ea63a3711243d11540ce28ccdb6f35ecd33" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" }, "nvim-ts-autotag": { "branch": "main", "commit": "f2d24aca1bcbbd2c0306fd93d52e3697027b77ff" }, diff --git a/.config/nvim-lazy/lua/config/options.lua b/.config/nvim-lazy/lua/config/options.lua index 8001584..7e120fe 100644 --- a/.config/nvim-lazy/lua/config/options.lua +++ b/.config/nvim-lazy/lua/config/options.lua @@ -4,3 +4,32 @@ vim.opt.wrap = true vim.opt.showbreak = "󰄾 " vim.opt.iskeyword:append("-") +vim.opt.scrolloff = 8 + +vim.opt.wildignore:append({ + "*.o", + "*.obj", + "*.out", + "*.class", + + "*.jpg", + "*.jpeg", + "*.png", + "*.gif", + + "*.zip", + "*.tar.gz", + "*.tar.xz", + "*.tar.bz2", + "*.rar", + + "*.pyc", + "*.pyo", + + "*.DS_Store", + "*.swp", + + "node_modules", + "vendor", + ".git", +}) diff --git a/.config/nvim-lazy/lua/plugins/telescope.lua b/.config/nvim-lazy/lua/plugins/telescope.lua index 6f54cdd..4db76fe 100644 --- a/.config/nvim-lazy/lua/plugins/telescope.lua +++ b/.config/nvim-lazy/lua/plugins/telescope.lua @@ -123,7 +123,29 @@ return { end) end, keys = { - { "", LazyVim.pick("files"), desc = "Find Files (Root Dir)" }, + { + "", + function() + LazyVim.pick.open( + "files", + { + find_command = { + "rg", + "--files", + "--color", + "never", + "--ignore", + "--hidden", + "--sortr", + "modified", + "--glob", + "!{" .. vim.iter(vim.opt.wildignore:get()):join(",") .. "}", + }, + } + ) + end, + desc = "Find Files (Root Dir)", + }, { "fn", LazyVim.pick.config_files(), desc = "Find Config File" }, { "fd",