Add neo-vim configuration

This commit is contained in:
Anthony Oteri
2022-02-04 08:28:07 -05:00
parent 862b793a0b
commit f9ca22de6f
42 changed files with 568 additions and 0 deletions
+15
View File
@@ -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