Updates :)
This commit is contained in:
parent
d10e30beec
commit
3228cc2d74
20 changed files with 987 additions and 9 deletions
26
nvim/lua/blakeridgway/plugins/telescope.lua
Normal file
26
nvim/lua/blakeridgway/plugins/telescope.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
-- 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue