From c444e96d45aa83a232358627cb6fca2af3d1f624 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 24 Jan 2014 12:56:52 +0100 Subject: [PATCH] Included coveragepy in vim. --- vim/bundle/Makefile | 1 + vimrc | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/vim/bundle/Makefile b/vim/bundle/Makefile index ec6ea90..4146271 100644 --- a/vim/bundle/Makefile +++ b/vim/bundle/Makefile @@ -6,6 +6,7 @@ init: test -d addon-mw-utils || git submodule add https://github.com/MarcWeber/vim-addon-mw-utils.git addon-mw-utils test -d snipmate || git submodule add https://github.com/garbas/vim-snipmate.git snipmate test -d snippets || git submodule add https://github.com/honza/vim-snippets.git snippets + test -d coveragepy || git submodule add https://github.com/alfredodeza/coveragepy.vim coveragepy update: git submodule update diff --git a/vimrc b/vimrc index 49cfd88..025c00f 100644 --- a/vimrc +++ b/vimrc @@ -31,3 +31,7 @@ endif if argc() == 2 silent vertical all endif + +"Map on python files +au FileType python :map :Coveragepy show +au FileType python :imap