From c329a4944d95b7191e1b24a703ed5591a448bc8d Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sun, 17 Jan 2016 11:00:18 -0500 Subject: [PATCH] update emacs config --- emacs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)