diff options
author | Matthew Lemon <y@yulqen.org> | 2023-04-01 17:17:02 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-04-01 17:17:02 +0100 |
commit | 3d26aa9712b8791697aa387b782f049b4e3c85a6 (patch) | |
tree | cfc2fb6149eb944478c9cae8259869cf5aaa0a86 /vim/vimrc | |
parent | 8163b1c4c033c0ec5e57bd8a0f40995d9abb171c (diff) |
added some nice vim-based keybindings
Diffstat (limited to '')
-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> |