summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gvimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gvimrc b/gvimrc
index ba46ffb..6d6d42e 100644
--- a/gvimrc
+++ b/gvimrc
@@ -37,6 +37,14 @@ 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 dot map <F5> :wa<CR>:set makeprg=dot\ %\ -Tpng\ -O<CR>:mak<CR><CR>
au FileType cpp,h map <F12> :wa<CR>:set makeprg=doxygen<CR>:mak<CR><CR>
+au FileType ebuild map <F6> :w<CR>:!ebuild % manifest<CR>
+au FileType ebuild map <F7> :w<CR>:!ebuild % clean<CR>
+au FileType ebuild map <F8> :w<CR>:!ebuild % compile<CR>
+au FileType ebuild map <F9> :w<CR>:!ebuild % install<CR>
+au FileType ebuild map <S-F7> :w<CR>:!ebuild % manifest clean<CR>
+au FileType ebuild map <S-F8> :w<CR>:!ebuild % manifest clean compile<CR>
+au FileType ebuild map <S-F9> :w<CR>:!ebuild % manifest clean compile install<CR>
+au FileType ebuild map <C-S-F10> :w<CR>:!sudo ebuild % merge<CR>
map <F7> :lnext<CR>
map <S-F7> :lprev<CR>
map <F8> :cn<CR>