<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daisuzu</author_name>
  <author_url>https://blog.hatena.ne.jp/daisuzu/</author_url>
  <blog_title>daisuzu's notes</blog_title>
  <blog_url>https://daisuzu.hatenablog.com/</blog_url>
  <categories>
    <anon>vim</anon>
    <anon>Go</anon>
  </categories>
  <description>↓のようなリポジトリごとにその直下をGOPATHにする環境でGoを書く時、 . ├── github.com/daisuzu/bar │ ├── bin │ ├── pkg │ └── src │ └── bar │ └── main.go └── github.com/daisuzu/foo ├── bin ├── pkg └── src └── foo └── main.go 両方のリポジトリのファイルを同時に開いて行ったり来たりするのを少し楽にするためにvim-goの設定を切り替える関数を作ることにした。 function! SwitchRepo() let toplevel = tri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaisuzu.hatenablog.com%2Fentry%2F2018%2F06%2F07%2F222142&quot; title=&quot;リポジトリごとにGOPATHを切る環境でのvim-go - daisuzu&amp;#39;s notes&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-07 22:21:42</published>
  <title>リポジトリごとにGOPATHを切る環境でのvim-go</title>
  <type>rich</type>
  <url>https://daisuzu.hatenablog.com/entry/2018/06/07/222142</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
