소스 검색

Add useful quick mapping for GoInfo

Andrew Swistak 8 년 전
부모
커밋
bd5a24bb58
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      vimrc

+ 1 - 0
vimrc

@@ -417,6 +417,7 @@ set tabline=%!Tabline()
 au BufRead,BufNewFile *.go set filetype=go
 au BufWritePre *.go :GoImports
 au FileType go map <buffer> <silent> <leader>t :GoTest<CR>
+au FileType go map <buffer> <silent> <leader>i :GoInfo<CR>
 let g:go_highlight_functions = 1
 let g:go_highlight_methods = 1
 let g:go_highlight_fields = 1