Explorar el Código

Add useful quick mapping for GoInfo

Andrew Swistak hace 8 años
padre
commit
bd5a24bb58
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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