dots/.config/nvim/lua/tlp.lua

47 lines
792 B
Lua

local actions = require('telescope.actions')
require('telescope').setup {
defaults = {
mappings = {
n = {
["Z"] = actions.select_vertical,
["X"] = actions.select_horizontal,
["C"] = actions.select_tab
},
},
},
pickers = {
buffers = {
ignore_current_buffer = true,
initial_mode = "normal",
previewer = false,
sort_lastused = true,
theme = "ivy",
mappings = {
n = {
["<c-x>"] = actions.delete_buffer,
},
},
layout_config = {
height = 10,
},
},
find_files = {
hidden = false,
initial_mode = "normal",
layout_strategies = "vertical",
theme = "ivy",
layout_config = {
height = 15,
},
},
live_grep = {
no_ignore = true,
theme = "ivy",
layout_config = {
height = 15,
},
},
},
}