Files
neovim/lua/config/keymaps.lua

11 lines
484 B
Lua

-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("n", "<leader>/", function()
require("fzf-lua").live_grep({ cwd = LazyVim.root() })
end, { desc = "Grep (Root Dir)" })
vim.keymap.set("n", "<leader> ", function()
require("fzf-lua").files({ cwd = LazyVim.root() })
end, { desc = "Find Files (Root Dir)" })