summaryrefslogtreecommitdiff
path: root/gvimrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:14:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:14:01 +0000
commit3327fc12bf2cc961ae73b8ce23c4e09b4bb9767d (patch)
tree5a46a282f2fcbad496167464388668b7c1fea976 /gvimrc
parentGroovy fold settings (diff)
downloadutil-3327fc12bf2cc961ae73b8ce23c4e09b4bb9767d.tar.bz2
util-3327fc12bf2cc961ae73b8ce23c4e09b4bb9767d.tar.xz
util-3327fc12bf2cc961ae73b8ce23c4e09b4bb9767d.zip
Add YcmCompleter keys
Diffstat (limited to 'gvimrc')
-rw-r--r--gvimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gvimrc b/gvimrc
index 3682778..c9f8b8e 100644
--- a/gvimrc
+++ b/gvimrc
@@ -38,6 +38,9 @@ au FileType c,cpp,jam,h,slice map <C-F5> :wa<CR>:set makeprg=b2\ -qj3\ pch=off<C
au FileType c,cpp,jam,h,slice map <S-F5> :wa<CR>:set makeprg=b2\ -qj3\ variant=release<CR>:mak<CR>
au FileType c,cpp,jam,h,slice map <F6> :wa<CR>:set makeprg=b2\ -q<CR>:mak<CR>
au FileType c,cpp,h map <S-F9> :call LoadCov()<CR><CR>
+au FileType c,cpp,h map <S-F> :YcmCompleter FixIt<CR>
+au FileType c,cpp,h map <C-]> :YcmCompleter GoToDefinition<CR>
+au FileType c,cpp,h map <C-S-]> :YcmCompleter GoToDeclaration<CR>
au FileType dot map <F5> :wa<CR>:set makeprg=dot\ %\ -Tpng\ -O<CR>:mak<CR><CR>
au FileType cpp,h map <S-F12> :wa<CR>:set makeprg=doxygen<CR>:mak<CR><CR>
au FileType ebuild map <F6> :w<CR>:!ebuild % manifest<CR>