dotvim/ftplugin/go.vim

15 lines
342 B
VimL
Raw Normal View History

2014-11-25 17:57:04 +09:00
setlocal noexpandtab
2020-04-28 19:51:52 -07:00
2021-01-19 20:31:16 -08:00
" vim-argwrap
2020-04-28 19:51:52 -07:00
let b:argwrap_tail_comma = 1
2021-01-19 20:31:16 -08:00
" vim-go
nmap <leader><f5> :GoDebugStart<cr>
nmap <leader><f9> :GoDebugBreakpoint<cr>
nmap <leader>b <plug>(go-build)
nmap <leader>c <plug>(go-coverage)
nmap <leader>r <plug>(go-run)
nmap <leader>t <plug>(go-test)
nmap <s-f11> :GoDebugStepOut<cr>
nmap <s-f5> :GoDebugStop<cr>