Created
November 15, 2013 01:18
-
-
Save grapswiz/7477568 to your computer and use it in GitHub Desktop.
Goの設定した
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # boxen | |
| [ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh | |
| # appengine | |
| export PATH=$HOME/appengine-java-sdk-1.8.7/bin:$PATH | |
| # nodebrew | |
| export PATH=$HOME/.nodebrew/current/bin:$PATH | |
| # project settings | |
| export APPENGINE_SDK=$HOME/appengine-java-sdk-1.8.7/ | |
| export PHANTOMJS_BIN=/opt/boxen/homebrew/bin/phantomjs | |
| # go http://unknownplace.org/archives/golang-editing-with-emacs.html | |
| export GOROOT=$(brew --prefix)/Cellar/go/1.1.2/libexec | |
| export GOPATH=$HOME/Documents/go-workspace | |
| #THIS MUST BE AT THE END OF THE FILE FOR JENV TO WORK!!! | |
| [[ -s "/Users/grapswiz/.jenv/bin/jenv-init.sh" ]] && source "/Users/grapswiz/.jenv/bin/jenv-init.sh" && source "/Users/grapswiz/.jenv/commands/completion.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (setq default-input-method "MacOSX") | |
| ;; el-get | |
| (add-to-list 'load-path "~/.emacs.d/el-get/el-get") | |
| (setq el-get-dir "~/.emacs.d/el-get/") | |
| (require 'el-get) | |
| (el-get 'sync) | |
| ;; auto-complete | |
| (el-get 'sync '(auto-complete)) | |
| (add-hook 'auto-complete-mode-hook (lambda () (define-key ac-completing-map (kbd "C-n") 'ac-next) (define-key ac-completing-map (kbd "C-p") 'ac-previous))) | |
| ;;go http://unknownplace.org/archives/golang-editing-with-emacs.html | |
| (add-to-list 'exec-path (expand-file-name "/opt/boxen/homebrew/bin")) | |
| (add-to-list 'exec-path (expand-file-name "~/Documents/go-workspace/bin")) | |
| (add-hook 'go-mode-hook (lambda () (local-set-key (kbd "M-.") 'godef-jump))) | |
| (add-to-list 'load-path "/Users/grapswiz/Documents/go-workspace/src/github.com/nsf/gocode/emacs") | |
| (require 'go-autocomplete) | |
| (require 'auto-complete-config) | |
| (ac-config-default) | |
| ;; go-flymake | |
| (add-to-list 'load-path "/Users/grapswiz/Documents/go-workspace/src/github.com/dougm/goflymake") | |
| (require 'go-flymake) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment