89c1b73ce4eca2e76ab119dc5eefd8a73f9dd883
- Author
- Pavle Portic <git@theedgeofrage.com>
- Committer
- Pavle Portic <git@theedgeofrage.com>
- Date
Message
Add vim-test plugin to spacevim
Diff
1diff --git a/dot_spacevim b/dot_spacevim
2index b703cedca7318e3b3624cb2ac25043f86d1768ac..4a9894ad77e10f0626118a2fb47373679a7452f7 100644
3--- a/dot_spacevim
4+++ b/dot_spacevim
5@@ -40,6 +40,7 @@ function! UserInit()
6 Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install', 'for': ['markdown', 'vim-plug'] }
7 Plug 'mboughaba/i3config.vim'
8 Plug 'github/copilot.vim'
9+ Plug 'vim-test/vim-test'
10
11 endfunction
12
13@@ -159,6 +160,13 @@ function! UserConfig()
14 nnoremap <Leader>wE :resize -5<CR>
15 endif
16
17+ " vim-test mappings
18+ nmap <silent> <leader>Tt :TestNearest<CR>
19+ nmap <silent> <leader>Tf :TestFile<CR>
20+ nmap <silent> <leader>Ta :TestSuite<CR>
21+ nmap <silent> <leader>Tl :TestLast<CR>
22+ nmap <silent> <leader>Tg :TestVisit<CR>
23+
24 " FZF mappings
25 noremap <C-P> :GFiles<CR>
26 noremap <leader>ff :Files<CR>