mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-05 23:56:52 -04:00
Add neo-vim configuration
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Plug 'vim-test/vim-test'
|
||||
|
||||
let test#php#phpunit#executable = 'deliver vendor/bin/phpunit'
|
||||
|
||||
nmap <leader>tn :TestNearest<CR>
|
||||
nmap <leader>tf :TestFile<CR>
|
||||
nmap <leader>ts :TestSuite<CR>
|
||||
nmap <leader>tl :TestLast<CR>
|
||||
nmap <leader>tv :TestVisit<CR>
|
||||
|
||||
augroup AutoDeleteTestTermBuffers
|
||||
autocmd!
|
||||
autocmd BufLeave term://*artisan\stest* bdelete!
|
||||
autocmd BufLeave term://*phpunit* bdelete!
|
||||
augroup END
|
||||
Reference in New Issue
Block a user