nvim

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 47c2395a761f7d8c6e651b582185c5543ff4dd5f
parent b82994e46f8499ee2a404c45d82e755318abedfe
Author: Andrew Laack <andrew.laack@imbue.com>
Date:   Sun, 12 Oct 2025 22:36:26 -0500

Updated telescope config

Diffstat:
Mlua/core/keymaps.lua | 13+++++++------
Mlua/core/plugins.lua | 8+++++++-
2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua @@ -1,4 +1,5 @@ vim.opt.spelllang = { "en_us" } +vim.opt.ttimeoutlen = 0 -- General config @@ -45,12 +46,12 @@ vim.keymap.set("n", "<C-l>", builtin.live_grep, { desc = "Live Grep" }) -- Open terminal ---vim.api.nvim_set_keymap( --- "n", --- "<leader>t", --- ":let $VIM_DIR=expand('%:p:h')<CR>:terminal<CR>cd $VIM_DIR<CR>", --- { silent = true } ---) +vim.api.nvim_set_keymap( + "n", + "<leader>t", + ":let $VIM_DIR=expand('%:p:h')<CR>:terminal<CR>cd $VIM_DIR<CR>", + { silent = true } +) vim.cmd("autocmd TermOpen * startinsert") -- Exit out of terminal mode diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua @@ -16,7 +16,6 @@ return require("packer").startup(function(use) use("wbthomason/packer.nvim") -- use('iamcco/markdown-preview.nvim') - use('L3MON4D3/LuaSnip') require("luasnip.loaders.from_lua").load({paths = "~/.config/nvim/LuaSnip/"}) @@ -91,6 +90,13 @@ require("luasnip").config.set_config({ -- Setting LuaSnip config i = { ["<C-e>"] = require('telescope.actions').close }, }, }, + pickers = { + find_files = { + -- `hidden = true` will still show the inside of `.git/` as it's not `.gitignore`d. + find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*", "-L" }, + }, + }, + }