diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-05 13:53:44 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-05 13:53:44 +0100 |
commit | 50fdbe55476359f800a9ef4bc4df8b94983b09ee (patch) | |
tree | 3a5f7d3902ea1623e03ba22965f9a722286a24e3 /.config/nvim/lua/mappings.lua | |
parent | 4ae4650a0c20580044089e0132eb7d21c42e96a8 (diff) |
nvim: telescope find lsp symbols
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index e0be18e..74f33b8 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -33,6 +33,8 @@ map('n', '<leader>fg', '<cmd>Telescope live_grep<cr>', opts) map('n', '<leader>fb', '<cmd>Telescope buffers<cr>', opts) map('n', '<leader>fh', '<cmd>Telescope help_tags<cr>', opts) +map('n', '<leader>ds', '<cmd>Telescope lsp_document_symbols<cr>', opts) +map('n', '<leader>ws', '<cmd>Telescope lsp_workspace_symbols<cr>', opts) map('n', '<leader>gd', '<cmd>Telescope lsp_definitions<cr>', opts) map('n', '<leader>gD', '<cmd>Telescope lsp_declarations<cr>', opts) map('n', '<leader>gr', '<cmd>Telescope lsp_references<cr>', opts) |