nvim/lua/plugins/telescope.lua
2023-12-12 20:16:58 +08:00

7 lines
300 B
Lua
Executable file

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, {})