From 2635f8c3d38b3441e9f878227985af8de4d585c7 Mon Sep 17 00:00:00 2001 From: "Adam A.G. Shamblin" Date: Fri, 30 Jun 2017 22:44:28 -0600 Subject: [PATCH] Add vim-go to vim config. --- .gitmodules | 3 +++ dotbash_profile | 14 ++++++++++++++ dotvim/bundle/vim-go | 1 + 3 files changed, 18 insertions(+) create mode 160000 dotvim/bundle/vim-go diff --git a/.gitmodules b/.gitmodules index 5bd8c56..c1a51b1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "dotvim/bundle/jshint.vim"] path = dotvim/bundle/jshint.vim url = https://github.com/walm/jshint.vim.git +[submodule "dotvim/bundle/vim-go"] + path = dotvim/bundle/vim-go + url = git@github.com:fatih/vim-go.git diff --git a/dotbash_profile b/dotbash_profile index 47cc5c4..c596ab8 100644 --- a/dotbash_profile +++ b/dotbash_profile @@ -103,6 +103,15 @@ export SCALA_HOME=/usr/local/bin/scala export PLAY_PATH="/usr/local/play" export PATH=$PATH:$PLAY_PATH +################################################## +# +# Go Stuffs +# +################################################## + +export GOPATH=$HOME/Projects/go +export PATH=$PATH:$(go env GOPATH)/bin + ################################################## # # SSH hosts autocomplete @@ -141,3 +150,8 @@ PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}" export PATH [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" + +# Setting PATH for Python 3.6 +# The original version is saved in .bash_profile.pysave +PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" +export PATH diff --git a/dotvim/bundle/vim-go b/dotvim/bundle/vim-go new file mode 160000 index 0000000..bcf3f23 --- /dev/null +++ b/dotvim/bundle/vim-go @@ -0,0 +1 @@ +Subproject commit bcf3f23dd76f39f3c3b840e3f95772ab46312219 -- 2.39.5