fzf-lua
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
dofile(vim.g.base46_cache .. "telescope")
|
||||
|
||||
local open_with_trouble = require("trouble.sources.telescope").open
|
||||
|
||||
local options = {
|
||||
pickers = {
|
||||
colorscheme = { enable_preview = true },
|
||||
find_files = {
|
||||
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" },
|
||||
},
|
||||
defaults = {
|
||||
vimgrep_arguments = {
|
||||
"rg",
|
||||
"--no-heading",
|
||||
"--with-filename",
|
||||
"--line-number",
|
||||
"--column",
|
||||
"--smart-case",
|
||||
"--hidden",
|
||||
},
|
||||
sort_mru = true,
|
||||
},
|
||||
},
|
||||
defaults = {
|
||||
prompt_prefix = " ",
|
||||
selection_caret = " ",
|
||||
entry_prefix = " ",
|
||||
sorting_strategy = "ascending",
|
||||
layout_config = {
|
||||
horizontal = {
|
||||
prompt_position = "top",
|
||||
preview_width = 0.55,
|
||||
},
|
||||
width = 0.87,
|
||||
height = 0.80,
|
||||
},
|
||||
mappings = {
|
||||
n = { ["<C-q>"] = open_with_trouble, ["<C-t>"] = open_with_trouble },
|
||||
i = { ["<C-q>"] = open_with_trouble, ["<C-t>"] = open_with_trouble },
|
||||
},
|
||||
},
|
||||
|
||||
extensions_list = { "themes", "terms" },
|
||||
extensions = {
|
||||
repo = {
|
||||
list = {
|
||||
fd_opts = { "--max-depth", "3", "--exclude", "lib", "--exclude", "cargo", "--exclude", "node_modules", "-j2" },
|
||||
search_dirs = { "~/projects", "~/subvisual", "~/ethui" },
|
||||
},
|
||||
settings = { auto_lcd = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return options
|
||||
Reference in New Issue
Block a user