nvim/lua/plugins/telescope.lua

8 lines
300 B
Lua
Raw Normal View History

2023-12-12 12:16:58 +00:00
require("telescope").setup()
local builtin = require("telescope.builtin")
vim.keymap.set("n", "<c-p>", builtin.find_files, {})
vim.keymap.set("n", "<Space><Space>", builtin.oldfiles, {})
vim.keymap.set("n", "<Space>fg", builtin.live_grep, {})
vim.keymap.set("n", "<Space>fh", builtin.help_tags, {})