fix(nav): fix mappings

This commit is contained in:
Matt Leong 2021-10-29 19:50:51 -07:00
parent e6ee76c3a2
commit 88de0e2dbd

View file

@ -69,7 +69,7 @@ require('telescope').setup({
pickers = { pickers = {
buffers = { buffers = {
prompt_title = '✨ Search Buffers ✨', prompt_title = '✨ Search Buffers ✨',
default_mappings = vim.tbl_deep_extend('force', { mappings = vim.tbl_deep_extend('force', {
n = { n = {
['d'] = actions.delete_buffer, ['d'] = actions.delete_buffer,
}, },
@ -85,33 +85,33 @@ require('telescope').setup({
}), }),
lsp_document_diagnostics = vim.tbl_deep_extend('force', opts_vertical, { lsp_document_diagnostics = vim.tbl_deep_extend('force', opts_vertical, {
prompt_title = 'Document Diagnostics', prompt_title = 'Document Diagnostics',
default_mappings = default_mappings, mappings = default_mappings,
}), }),
lsp_implementations = vim.tbl_deep_extend('force', opts_cursor, { lsp_implementations = vim.tbl_deep_extend('force', opts_cursor, {
prompt_title = 'Implementations', prompt_title = 'Implementations',
default_mappings = default_mappings, mappings = default_mappings,
}), }),
lsp_definitions = vim.tbl_deep_extend('force', opts_cursor, { lsp_definitions = vim.tbl_deep_extend('force', opts_cursor, {
prompt_title = 'Definitions', prompt_title = 'Definitions',
default_mappings = default_mappings, mappings = default_mappings,
}), }),
lsp_references = vim.tbl_deep_extend('force', opts_cursor, { lsp_references = vim.tbl_deep_extend('force', opts_cursor, {
prompt_title = 'References', prompt_title = 'References',
default_mappings = default_mappings, mappings = default_mappings,
}), }),
find_files = { find_files = {
prompt_title = '✨ Search Project ✨', prompt_title = '✨ Search Project ✨',
default_mappings = default_mappings, mappings = default_mappings,
hidden = true, hidden = true,
}, },
git_files = { git_files = {
prompt_title = '✨ Search Git Project ✨', prompt_title = '✨ Search Git Project ✨',
default_mappings = default_mappings, mappings = default_mappings,
hidden = true, hidden = true,
}, },
live_grep = { live_grep = {
prompt_title = '✨ Live Grep ✨', prompt_title = '✨ Live Grep ✨',
default_mappings = default_mappings, mappings = default_mappings,
}, },
}, },
}) })