This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/lua/plugins/telescope.lua

23 lines
532 B
Lua
Raw Normal View History

2022-02-21 14:15:15 +00:00
local actions = require("telescope.actions")
require('telescope').setup({
2022-02-23 20:31:57 +00:00
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
}
}
2022-02-21 14:15:15 +00:00
})
2022-02-23 20:31:57 +00:00
require('telescope').load_extension('fzf')