23 lines
532 B
Lua
23 lines
532 B
Lua
local actions = require("telescope.actions")
|
|
|
|
require('telescope').setup({
|
|
defaults = {
|
|
mappings = {
|
|
i = {
|
|
["<C-j>"] = actions.move_selection_next,
|
|
["<C-k>"] = actions.move_selection_previous
|
|
},
|
|
n = {['<C-c>'] = actions.close}
|
|
}
|
|
},
|
|
extensions = {
|
|
fzf = {
|
|
fuzzy = true,
|
|
override_generic_sorter = true,
|
|
override_file_sorter = true
|
|
}
|
|
}
|
|
})
|
|
|
|
require('telescope').load_extension('fzf')
|