Skip to content

Commit

Permalink
Merge pull request #2956 from wy100101/master
Browse files Browse the repository at this point in the history
Update mappings.vim to support vim8 for go-run-{split,vertical}
  • Loading branch information
bhcleek committed Jul 8, 2020
2 parents 2c6bffb + 20d976f commit 44a270c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/go/mappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endif
" Some handy plug mappings
nnoremap <silent> <Plug>(go-run) :<C-u>call go#cmd#Run(!g:go_jump_to_error)<CR>
if has("nvim")
if has("nvim") || has("terminal")
nnoremap <silent> <Plug>(go-run-vertical) :<C-u>call go#cmd#RunTerm(!g:go_jump_to_error, 'vsplit', [])<CR>
nnoremap <silent> <Plug>(go-run-split) :<C-u>call go#cmd#RunTerm(!g:go_jump_to_error, 'split', [])<CR>
nnoremap <silent> <Plug>(go-run-tab) :<C-u>call go#cmd#RunTerm(!g:go_jump_to_error, 'tabe', [])<CR>
Expand Down

0 comments on commit 44a270c

Please sign in to comment.