aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/nvim/init.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 38cbc2f..ba5441c 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -269,7 +269,8 @@ call plug#end()
nmap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR>
nmap <silent> <leader>b <cmd>lua vim.lsp.buf.format()<CR>
nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR>
- nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR>
+ nmap <silent> <leader>qw <cmd>lua vim.lsp.buf.workspace_symbol()<CR>
+ nmap <silent> <leader>qd <cmd>lua vim.lsp.buf.document_symbol()<CR>
nmap <silent> <leader>l <cmd>lua vim.diagnostic.setloclist()<CR>
nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR>
nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR>