Browse Source

update emacs config

pull/1/head
Brett Langdon 10 years ago
parent
commit
c329a4944d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      emacs

+ 2
- 2
emacs View File

@ -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)


Loading…
Cancel
Save