dotfiles/symlinks/vim/after/plugin/testing.vim

14 lines
515 B
VimL
Raw Permalink Normal View History

2021-01-07 08:09:41 +00:00
" -----------------------------------------------------------------------------
" - Vim-test and general testing config -
" -----------------------------------------------------------------------------
" make test commands execute using dispatch.vim
let test#strategy = "dispatch"
" Map test running commands
nmap <silent> <Leader>tn :TestNearest<CR>
nmap <silent> <Leader>tf :TestFile<CR>
nmap <silent> <Leader>ts :TestSuite<CR>
nmap <silent> <Leader>tl :TestLast<CR>
nmap <silent> <Leader>tg :TestVisit<CR>