Use K for YouCompleteMe GetDoc in C/C++ files
This commit is contained in:
@@ -6,3 +6,5 @@ setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
|
||||
setlocal commentstring=//%s
|
||||
" Stop automatic new lines which typing long single liners
|
||||
setlocal textwidth=0
|
||||
" Map K to get YouCompleteMe documentation
|
||||
nnoremap K :YcmCompleter GetDoc<CR>
|
||||
|
||||
2
after/ftplugin/cpp.vim
Normal file
2
after/ftplugin/cpp.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Map K to get YouCompleteMe documentation
|
||||
nnoremap K :YcmCompleter GetDoc<CR>
|
||||
Reference in New Issue
Block a user