From 7a7e1a81d18964350fd387d3b7cdfeb0369ea93f Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 27 Feb 2021 21:39:10 +0100 Subject: [PATCH] add coc symbols shortcut --- nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index cad391c..12ac8c5 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -72,6 +72,9 @@ nmap gr (coc-references) " Use K to show documentation in preview window. nnoremap K :call show_documentation() +" Use space o to show symbols +nnoremap o :CocList -I symbols + function! s:show_documentation() if (index(['vim','help'], &filetype) >= 0) execute 'h '.expand('')