1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
local actions = require("telescope.actions")
require("telescope").setup({
defaults = {
prompt_prefix = "» ",
initial_mode = "insert",
sorting_strategy = "ascending",
layout_config = {
prompt_position = "top",
},
mappings = {
i = {
["<ESC>"] = actions.close,
["<C-j>"] = actions.move_selection_next,
["<C-k>"] = actions.move_selection_previous,
["<TAB>"] = actions.toggle_selection + actions.move_selection_next,
["<C-s>"] = actions.send_selected_to_qflist,
["<C-q>"] = actions.send_to_qflist,
["<C-h>"] = actions.which_key,
},
},
},
extensions = {
fzf = {
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = "smart_case",
},
},
pickers = {
find_files = {
disable_devicons = true
},
},
})
|