diff --git a/Commands/Gomate getdoc.tmCommand b/Commands/Gomate getdoc.tmCommand
new file mode 100644
index 0000000..1432fe1
--- /dev/null
+++ b/Commands/Gomate getdoc.tmCommand
@@ -0,0 +1,34 @@
+
+
+
+
+ beforeRunningCommand
+ nop
+ command
+ #!/usr/bin/env bash
+. "${TM_BUNDLE_SUPPORT}/go_setup.sh"
+
+$GOPATH/bin/gomate getdoc
+
+ input
+ selection
+ inputFormat
+ text
+ keyEquivalent
+ @d
+ name
+ Gomate getdoc
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
+ scope
+ source.go
+ uuid
+ 5CAB3BF3-E841-43DB-9A5E-B1BA61B2604E
+ version
+ 2
+
+
diff --git a/Commands/Gomate install.tmCommand b/Commands/Gomate install.tmCommand
new file mode 100644
index 0000000..adf6602
--- /dev/null
+++ b/Commands/Gomate install.tmCommand
@@ -0,0 +1,33 @@
+
+
+
+
+ beforeRunningCommand
+ nop
+ command
+ #!/usr/bin/env bash
+. "${TM_BUNDLE_SUPPORT}/go_setup.sh"
+
+${GOROOT}/bin/go get -u github.com/pokstad/gomate/cmd/gomate
+${GOPATH}/bin/gomate install
+
+ input
+ none
+ inputFormat
+ text
+ name
+ Gomate install/update
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
+ scope
+ source.go
+ uuid
+ 36773731-D5AC-49F4-938C-08EFC7C042D8
+ version
+ 2
+
+
diff --git a/Commands/Gomate notes.tmCommand b/Commands/Gomate notes.tmCommand
new file mode 100644
index 0000000..4f4e33f
--- /dev/null
+++ b/Commands/Gomate notes.tmCommand
@@ -0,0 +1,34 @@
+
+
+
+
+ beforeRunningCommand
+ nop
+ command
+ #!/usr/bin/env bash
+. "${TM_BUNDLE_SUPPORT}/go_setup.sh"
+
+$GOPATH/bin/gomate notes
+
+ input
+ none
+ inputFormat
+ text
+ keyEquivalent
+ ~N
+ name
+ Gomate notes
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
+ scope
+ source.go
+ uuid
+ 96924418-0F77-4085-BBA1-194A51EC2880
+ version
+ 2
+
+
diff --git a/Commands/Gomate outline.tmCommand b/Commands/Gomate outline.tmCommand
new file mode 100644
index 0000000..412bf1a
--- /dev/null
+++ b/Commands/Gomate outline.tmCommand
@@ -0,0 +1,34 @@
+
+
+
+
+ beforeRunningCommand
+ nop
+ command
+ #!/usr/bin/env bash
+. "${TM_BUNDLE_SUPPORT}/go_setup.sh"
+
+$GOPATH/bin/gomate outline
+
+ input
+ selection
+ inputFormat
+ text
+ keyEquivalent
+ ~O
+ name
+ Gomate outline
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
+ scope
+ source.go
+ uuid
+ 3EA461FE-2FDE-43EF-86DE-F11258319F4E
+ version
+ 2
+
+
diff --git a/Commands/Gomate references.tmCommand b/Commands/Gomate references.tmCommand
new file mode 100644
index 0000000..d2f2a69
--- /dev/null
+++ b/Commands/Gomate references.tmCommand
@@ -0,0 +1,34 @@
+
+
+
+
+ beforeRunningCommand
+ nop
+ command
+ #!/usr/bin/env bash
+. "${TM_BUNDLE_SUPPORT}/go_setup.sh"
+
+$GOPATH/bin/gomate references
+
+ input
+ none
+ inputFormat
+ text
+ keyEquivalent
+ @r
+ name
+ Gomate references
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
+ scope
+ source.go
+ uuid
+ 639324A9-89F9-414A-9340-3316966D87A5
+ version
+ 2
+
+
diff --git a/README.md b/README.md
index abd2737..e2d2f3f 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@ go get -u github.com/golang/lint/golint | Standard linter
go get -u github.com/alecthomas/gometalinter | Combination of multiple linters
go get -u github.com/rogpeppe/godef | goto definition
go get -u golang.org/x/tools/cmd/gorename | Rename go identifiers
+go get -u github.com/pokstad/gomate | Various uses: symbol documentation, references, outline
### TextMate Variables
TextMate does not inherit the users environment unless it is launched from the command line.
diff --git a/Support/go_setup.sh b/Support/go_setup.sh
old mode 100644
new mode 100755
index 0e1cf09..a362407
--- a/Support/go_setup.sh
+++ b/Support/go_setup.sh
@@ -1,4 +1,16 @@
#!/usr/bin/env bash
if [ -z "${GOPATH}" ]; then
- export GOPATH="${TM_GOPATH}"
+ if [ -z "${TM_GOPATH}" ]; then
+ export GOPATH="${HOME}/go"
+ else
+ export GOPATH="${TM_GOPATH}"
+ fi
+fi
+
+if [ -z "${GOROOT}" ]; then
+ if [ -z "${TM_GOROOT}" ]; then
+ export GOROOT="/usr/local/go"
+ else
+ export GOROOT="${TM_GOROOT}"
+ fi
fi
diff --git a/info.plist b/info.plist
index 63525e9..cc1c91c 100644
--- a/info.plist
+++ b/info.plist
@@ -39,6 +39,12 @@
25CE5652-3DF2-478F-820B-965F6F7F57A4
C2D3D065-3434-4AC0-BB50-5D8676052D1F
------------------------------------
+ 36773731-D5AC-49F4-938C-08EFC7C042D8
+ 5CAB3BF3-E841-43DB-9A5E-B1BA61B2604E
+ 639324A9-89F9-414A-9340-3316966D87A5
+ 96924418-0F77-4085-BBA1-194A51EC2880
+ 3EA461FE-2FDE-43EF-86DE-F11258319F4E
+ ------------------------------------
98F0F28C-3B03-4792-AF44-24E2C4327EED
submenus