diff --git a/.vim/plugin/cscope.vim b/.vim/plugin/cscope.vim index ea64b1f..836d5a2 100644 --- a/.vim/plugin/cscope.vim +++ b/.vim/plugin/cscope.vim @@ -13,8 +13,7 @@ if has("cscope") try execute "tag " . expand("") catch /:E257:/ - execute "normal! gd" - execute "nohlsearch" + execute "Rg " . expand("") endtry endfunction nmap , :call GoToDefinition()