Add vim-test plugin to spacevim
This commit is contained in:
parent
1633ae5621
commit
89c1b73ce4
|
@ -40,6 +40,7 @@ function! UserInit()
|
|||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install', 'for': ['markdown', 'vim-plug'] }
|
||||
Plug 'mboughaba/i3config.vim'
|
||||
Plug 'github/copilot.vim'
|
||||
Plug 'vim-test/vim-test'
|
||||
|
||||
endfunction
|
||||
|
||||
|
@ -159,6 +160,13 @@ function! UserConfig()
|
|||
nnoremap <Leader>wE :resize -5<CR>
|
||||
endif
|
||||
|
||||
" vim-test mappings
|
||||
nmap <silent> <leader>Tt :TestNearest<CR>
|
||||
nmap <silent> <leader>Tf :TestFile<CR>
|
||||
nmap <silent> <leader>Ta :TestSuite<CR>
|
||||
nmap <silent> <leader>Tl :TestLast<CR>
|
||||
nmap <silent> <leader>Tg :TestVisit<CR>
|
||||
|
||||
" FZF mappings
|
||||
noremap <C-P> :GFiles<CR>
|
||||
noremap <leader>ff :Files<CR>
|
||||
|
|
Loading…
Reference in New Issue