diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -97,6 +97,12 @@ endif " Check whether any buffers have been updated outside of vim 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> + " clear search highlights nnoremap <leader><space> :noh<cr>:call clearmatches()<cr> |