From b6f0a88c9fc8327ed8db77a528d642880ad8da59 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 1 Apr 2023 17:36:40 +0100 Subject: more vim config --- vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index c1aef6f..34cfcd7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -99,9 +99,11 @@ nnoremap :checktime " Python - keybindings nnoremap Ts :setlocal makeprg=pytest\ -q\ % -nnoremap Tt :make! nnoremap Tf :setlocal makeprg=flake8\ % nnoremap Tb :setlocal makeprg=black\ % +nnoremap Tm :setlocal makeprg=mypy\ --ignore-missing-imports\ % +" then run the one set with this... +nnoremap Tt :make! " clear search highlights nnoremap :noh:call clearmatches() -- cgit v1.2.3