require('telescope').setup{
defaults = {
borderchars = { '─', '│', '─', '│', '┌', '┐', '┘', '└'}
}
}
require('telescope').load_extension('aerial')
local opt = { noremap=true }
local keybinds = {
{'f/', 'current_buffer_fuzzy_find'},
{'fa', 'aerial'},
{'fb', 'buffers'},
{'ff', 'find_files'},
{'fgb', 'git_branches'},
{'fgc', 'git_commits'},
{'fgg', 'git_files'},
{'fgs', 'git_status'},
{'fh', 'help_tags'},
{'fl', 'live_grep'},
{'fm', 'man_pages'},
{'fo', 'oldfiles'},
{'fr', 'resume'},
}
for _, keybind in pairs(keybinds) do
vim.api.nvim_set_keymap('n', keybind[1], '<cmd>Telescope ' .. keybind[2] .. '<cr>', opt)
end