ncm2 / ncm2-pyclang

Cached, fast C/C++ completion for ncm2
MIT License
45 stars 1 forks source link

Add goto in new split/vsplit #28

Closed tvatter closed 5 years ago

tvatter commented 5 years ago

See #23, and I use the following in my init.vim:

autocmd FileType c,cpp nnoremap <buffer> gs :<c-u>call ncm2_pyclang#goto_declaration_split()<cr>
autocmd FileType c,cpp nnoremap <buffer> gv :<c-u>call ncm2_pyclang#goto_declaration_vsplit()<cr>