Browse Source

[feat] add golang iferr key binding

master
Jay 7 months ago
parent
commit
246b7300bc
  1. 1
      .vimrc

1
.vimrc

@ -397,6 +397,7 @@ let g:tagbar_type_go = {
" vim-go setting
autocmd FileType go nmap tgd <Plug>(go-def-tab)
autocmd FileType go nmap <leader>err <Plug>(go-iferr)
au FileType go imap <c-y>e <Plug>(go-iferr)
let g:go_fmt_fail_silently = 1
let g:go_fmt_command = "goimports"
let g:go_def_mode = 'godef'

Loading…
Cancel
Save