Hash :
87847c38
Author :
Thomas de Grivel
Date :
2021-02-14T10:08:39
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
;; Packages
(package-initialize)
(add-to-list 'package-archives
(cons "melpa" "https://melpa.org/packages/") t)
;; Adams
(add-to-list 'auto-mode-alist '("\\.adams\\'" . lisp-mode))
;; web-mode
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.eex\\'" . web-mode))
;; Erlang
(add-to-list 'load-path "/usr/local/lib/erlang21/lib/tools-3.0.2/emacs")
(setq erlang-root-dir "/usr/local/lib/erlang21")
(setq exec-path (cons "/usr/local/lib/erlang21/bin" exec-path))
(require 'erlang-start)
;; slime
(add-to-list 'load-path "~/common-lisp/slime/slime/")
(require 'slime-autoloads)
(add-to-list 'slime-contribs 'slime-fancy)
(setq inferior-lisp-program
"/usr/local/bin/sbcl")
(setq common-lisp-hyperspec-root
"/usr/share/doc/hyperspec/HyperSpec/")
(setq slime-net-coding-system
'utf-8-unix)
;; ruby
(setq ruby-insert-encoding-magic-comment nil)
;; customize
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(c-basic-offset 2)
'(column-number-mode t)
'(ido-mode 'both nil (ido))
'(indent-tabs-mode nil)
'(inhibit-startup-screen t)
'(js-indent-level 2)
'(menu-bar-mode nil)
'(package-selected-packages '(web-mode alchemist elixir-mode))
'(scroll-bar-mode nil)
'(show-paren-mode t)
'(tool-bar-mode nil)
'(web-mode-code-indent-offset 2)
'(web-mode-css-indent-offset 2)
'(web-mode-markup-indent-offset 2))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :extend nil :stipple nil :background "#fff" :foreground "#000" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default"))))
'(fringe ((t (:background "white"))))
'(mode-line ((t (:background "gray" :foreground "black"))))
'(mode-line-inactive ((t (:inherit mode-line :background "grey" :foreground "gray30"))))
'(region ((t nil)))
'(window-divider ((t (:foreground "gray"))))
'(window-divider-first-pixel ((t (:foreground "blue"))))
'(window-divider-last-pixel ((t (:foreground "gray")))))