Clean up emacs config for a MELPA world.
This commit is contained in:
parent
3c16caf506
commit
44564ade7d
5 changed files with 2 additions and 7786 deletions
21
emacs/.emacs
21
emacs/.emacs
|
@ -39,7 +39,8 @@
|
|||
(set-language-environment "UTF-8")
|
||||
|
||||
;; Kill GUI elements
|
||||
(menu-bar-mode 0)
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
|
||||
;; *** Programming
|
||||
(global-set-key (kbd "C-x g") 'goto-line)
|
||||
|
@ -54,21 +55,3 @@
|
|||
|
||||
;; Use the right mode for Arduino sketches
|
||||
(add-to-list 'auto-mode-alist '("\\.ino\\'" . c++-mode))
|
||||
|
||||
(add-to-list 'load-path "~/.emacs.d/lisp")
|
||||
(require 'yaml-mode)
|
||||
(require 'slim-mode)
|
||||
(require 'haml-mode)
|
||||
|
||||
;; Markdown support
|
||||
(autoload 'markdown-mode "markdown-mode"
|
||||
"Major mode for editing Markdown files" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
|
||||
|
||||
(add-hook 'go-mode-hook
|
||||
(lambda ()
|
||||
(add-hook 'before-save-hook 'gofmt-before-save)
|
||||
(setq tab-width 2)
|
||||
(setq indent-tabs-mode 0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue