diff --git a/emacs b/emacs index 3c6e25c..c663697 100644 --- a/emacs +++ b/emacs @@ -48,6 +48,7 @@ (display-battery-mode 1) (helm-mode 1) +(global-set-key (kbd "M-x") 'helm-M-x) (projectile-global-mode 1) (global-set-key (kbd "C-c p s a") 'helm-projectile-ack) (global-subword-mode 1) @@ -73,12 +74,11 @@ (require 'auto-complete-config) (ac-config-default) (load-file "/Users/brettlangdon/go/src/golang.org/x/tools/cmd/oracle/oracle.el") - (go-oracle-mode) (load-file "~/go/src/github.com/golang/lint/misc/emacs/golint.el") (require 'golint) (setq gofmt-command "goimports") (local-set-key (kbd "M-.") 'godef-jump) - (add-hook 'before-save-hook #'gofmt-before-save))) + (add-hook 'before-save-hook 'gofmt-before-save))) (add-hook 'js-mode-hook (lambda() (autoload 'jscs-indent-apply "jscs" nil t) (autoload 'jscs-fix "jscs" nil t)