mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
26 lines
534 B
Lua
26 lines
534 B
Lua
local status_ok, telescope = pcall(require, "telescope")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
local actions = require("telescope.actions")
|
|
|
|
telescope.setup({
|
|
defaults = {
|
|
|
|
prompt_prefix = " ",
|
|
selection_caret = " ",
|
|
path_display = { "smart" },
|
|
file_ignore_patterns = { ".git/", "node_modules" },
|
|
|
|
mappings = {
|
|
i = {
|
|
["<Down>"] = actions.cycle_history_next,
|
|
["<Up>"] = actions.cycle_history_prev,
|
|
["<C-j>"] = actions.move_selection_next,
|
|
["<C-k>"] = actions.move_selection_previous,
|
|
},
|
|
},
|
|
},
|
|
})
|