From f83813eb42d9609fbee9267c0df7c51f8f0fe909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 8 Jun 2023 17:55:52 +0300 Subject: lsp: bind for document symbol search --- dotfiles/.config/nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dotfiles') 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 n lua vim.lsp.buf.rename() nmap b lua vim.lsp.buf.format() nmap a lua vim.lsp.buf.code_action() - nmap w lua vim.lsp.buf.workspace_symbol() + nmap qw lua vim.lsp.buf.workspace_symbol() + nmap qd lua vim.lsp.buf.document_symbol() nmap l lua vim.diagnostic.setloclist() nmap ]g lua vim.diagnostic.goto_next() nmap [g lua vim.diagnostic.goto_prev() -- cgit v1.2.3