From 7229453192a09050e3c85c1ca5f738b43058ca0e Mon Sep 17 00:00:00 2001 From: don philipe Date: Thu, 19 Oct 2023 11:35:35 +0200 Subject: [PATCH 1/2] Add python coverage vim plugin --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 7c5a4f8..2d67224 100644 --- a/.vimrc +++ b/.vimrc @@ -108,6 +108,10 @@ Plug 'vim-autoformat/vim-autoformat' " Comment stuff out: one line with `gcc`, selection with `gc` Plug 'tpope/vim-commentary' +" Show python coverage, needs coverage.py installed (globally) +" use with `:Coveragepy report` or `:Coveragepy show` +Plug 'alfredodeza/coveragepy.vim' + call plug#end() From 4405d5316fe512a1c4486d2985385a4fc82764e3 Mon Sep 17 00:00:00 2001 From: don philipe Date: Thu, 26 Oct 2023 12:50:57 +0200 Subject: [PATCH 2/2] Command alias for nerd tree toggeling --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 2d67224..ae22c00 100644 --- a/.vimrc +++ b/.vimrc @@ -115,8 +115,8 @@ Plug 'alfredodeza/coveragepy.vim' call plug#end() -" ,nn will toggle NERDTree on and off -"nmap n :NERDTreeToggle +" Set alias command for toggeling nerd tree +command NT NERDTreeTabsToggle " special configuration: