dotfiles/nvim/lua/blakeridgway/plugins/telescope.lua
Blake Ridgway 3228cc2d74 Updates :)
2023-02-02 22:27:10 -06:00

26 lines
565 B
Lua

-- import telescope
local telescope_setup, telescope = pcall(require, "telescope")
if not telescope_setup then
return
end
-- import teleport actions
local actions_setup, actions = pcall(require, "telescope.actions")
if not actions_setup then
return
end
-- config
telescope.setup({
defaults = {
mappings = {
i = {
["<C-k>"] = actions.move_selection_previous,
["<C-j>"] = actions.move_selection_next,
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
},
},
},
})
telescope.load_extension("fzf")