feat(nvim): add a mapping to open go tests in a split
This commit is contained in:
parent
00f6d6b3b1
commit
7e1edd9412
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ vim.cmd [[
|
|||
autocmd FileType go nnoremap <buffer><leader>tF :GoTestFile<cr>
|
||||
autocmd FileType go nnoremap <buffer><leader>ta :GoTestAll<cr>
|
||||
autocmd FileType go nnoremap <buffer><leader>a :GoToTest<cr>
|
||||
autocmd FileType go nnoremap <buffer><leader>A :GoToTest vsplit<cr>
|
||||
autocmd User NvimGoTestPopupPost nnoremap <buffer><Esc> :q<cr>
|
||||
augroup END
|
||||
]]
|
||||
|
|
Loading…
Add table
Reference in a new issue