aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-01 17:36:40 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-01 17:36:40 +0100
commitb6f0a88c9fc8327ed8db77a528d642880ad8da59 (patch)
tree788d95d566097f6190ed321658d6aeef2239e5e0 /vim/vimrc
parent6407498182c3b40f1d1350be5df57173726da6fd (diff)
more vim config
Diffstat (limited to '')
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c1aef6f..34cfcd7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -99,9 +99,11 @@ nnoremap <F5> :checktime<CR>
" Python - keybindings
nnoremap <leader>Ts :setlocal makeprg=pytest\ -q\ %<cr>
-nnoremap <leader>Tt :make!<cr>
nnoremap <leader>Tf :setlocal makeprg=flake8\ %<cr>
nnoremap <leader>Tb :setlocal makeprg=black\ %<cr>
+nnoremap <leader>Tm :setlocal makeprg=mypy\ --ignore-missing-imports\ %<cr>
+" then run the one set with this...
+nnoremap <leader>Tt :make!<cr>
" clear search highlights
nnoremap <leader><space> :noh<cr>:call clearmatches()<cr>