diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-01-27 14:51:35 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-01-27 14:51:35 +0300 |
commit | 909935f44c88e37ccedb80c972c59b898872a051 (patch) | |
tree | 45a4691fee7bac4d25d669d52b4b3682dd198095 /dotfiles | |
parent | e958a1f968ef03f5ac5a208df438690f240a1c3f (diff) | |
download | vimrice-909935f44c88e37ccedb80c972c59b898872a051.tar.gz vimrice-909935f44c88e37ccedb80c972c59b898872a051.zip |
go to diagnostic
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 24b7929..f0c36be 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -229,8 +229,12 @@ call plug#end() nmap <silent> gd <cmd>lua vim.lsp.buf.definition()<CR> nmap <silent> gD <cmd>lua vim.lsp.buf.declaration()<CR> nmap <silent> gK <cmd>lua vim.lsp.buf.hover()<CR> + nmap <silent> gz <cmd>lua vim.lsp.buf.references()<CR> nmap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR> nmap <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR> + nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR> + nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR> + nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR> " File format preferences " MFing neovim overrding my omnifunc with whatever ccomplete is |