summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 14:43:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 14:43:55 +0100
commit67543952607f892032db9eeb99d241c77aaa35ca (patch)
tree0bcbcfcf93c14d827bde7a38a324c116adb1d6c3
parentUse Hack (diff)
downloadutil-67543952607f892032db9eeb99d241c77aaa35ca.tar.bz2
util-67543952607f892032db9eeb99d241c77aaa35ca.tar.xz
util-67543952607f892032db9eeb99d241c77aaa35ca.zip
Add keympas for ebuilds
-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>