From 1346ffa38cd554571171a1b4fb20b3ad7faf2c3d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Jul 2016 13:25:44 -0700 Subject: [emacs] move everything back to one file for now. --- emacs.d/modes/cfg-ansible.el | 7 ------- emacs.d/modes/cfg-docker.el | 7 ------- emacs.d/modes/cfg-puppet.el | 13 ------------- emacs.d/modes/cfg-thrift.el | 5 ----- emacs.d/modes/cfg-yaml.el | 6 ------ emacs.d/modes/lang-c.el | 8 -------- emacs.d/modes/lang-go.el | 30 ------------------------------ emacs.d/modes/lang-markdown.el | 10 ---------- emacs.d/modes/lang-python.el | 7 ------- emacs.d/modes/lang-scala.el | 7 ------- emacs.d/modes/lang-scheme.el | 6 ------ emacs.d/modes/lang-shell.el | 14 -------------- 12 files changed, 120 deletions(-) delete mode 100644 emacs.d/modes/cfg-ansible.el delete mode 100644 emacs.d/modes/cfg-docker.el delete mode 100644 emacs.d/modes/cfg-puppet.el delete mode 100644 emacs.d/modes/cfg-thrift.el delete mode 100644 emacs.d/modes/cfg-yaml.el delete mode 100644 emacs.d/modes/lang-c.el delete mode 100644 emacs.d/modes/lang-go.el delete mode 100644 emacs.d/modes/lang-markdown.el delete mode 100644 emacs.d/modes/lang-python.el delete mode 100644 emacs.d/modes/lang-scala.el delete mode 100644 emacs.d/modes/lang-scheme.el delete mode 100644 emacs.d/modes/lang-shell.el (limited to 'emacs.d/modes') diff --git a/emacs.d/modes/cfg-ansible.el b/emacs.d/modes/cfg-ansible.el deleted file mode 100644 index 51643e2..0000000 --- a/emacs.d/modes/cfg-ansible.el +++ /dev/null @@ -1,7 +0,0 @@ -(use-package ansible - :ensure t) - -(use-package ansible-doc - :ensure t) - -(provide 'cfg-ansible) diff --git a/emacs.d/modes/cfg-docker.el b/emacs.d/modes/cfg-docker.el deleted file mode 100644 index ec60a11..0000000 --- a/emacs.d/modes/cfg-docker.el +++ /dev/null @@ -1,7 +0,0 @@ -(use-package docker - :ensure t) - -(use-package dockerfile-mode - :ensure t) - -(provide 'cfg-docker) diff --git a/emacs.d/modes/cfg-puppet.el b/emacs.d/modes/cfg-puppet.el deleted file mode 100644 index e08848d..0000000 --- a/emacs.d/modes/cfg-puppet.el +++ /dev/null @@ -1,13 +0,0 @@ -(when (memq window-system '(mac ns x)) - (dolist (var '("GEM_HOME" "MY_RUBY_HOME")) - (unless (getenv var) - (exec-path-from-shell-copy-env var)))) - -(use-package puppet-mode - :ensure t - :mode ("\\.pp$" . puppet-mode) - :init - (progn - (add-hook 'puppet-mode-hook 'flycheck-mode))) - -(provide 'cfg-puppet) diff --git a/emacs.d/modes/cfg-thrift.el b/emacs.d/modes/cfg-thrift.el deleted file mode 100644 index 4f491c2..0000000 --- a/emacs.d/modes/cfg-thrift.el +++ /dev/null @@ -1,5 +0,0 @@ -(use-package thrift - :ensure t - :defer t) - -(provide 'cfg-thrift) diff --git a/emacs.d/modes/cfg-yaml.el b/emacs.d/modes/cfg-yaml.el deleted file mode 100644 index a2c6435..0000000 --- a/emacs.d/modes/cfg-yaml.el +++ /dev/null @@ -1,6 +0,0 @@ -(use-package yaml-mode - :mode ("\\.\\(yml\\|yaml\\)\\'" . yaml-mode) - :ensure t - :defer t) - -(provide 'cfg-yaml) diff --git a/emacs.d/modes/lang-c.el b/emacs.d/modes/lang-c.el deleted file mode 100644 index 9b4f357..0000000 --- a/emacs.d/modes/lang-c.el +++ /dev/null @@ -1,8 +0,0 @@ -(use-package google-c-style - :ensure t - :defer t - :config - (progn - (setq c-basic-offset 2))) - -(provide 'lang-c) diff --git a/emacs.d/modes/lang-go.el b/emacs.d/modes/lang-go.el deleted file mode 100644 index 0b56bd9..0000000 --- a/emacs.d/modes/lang-go.el +++ /dev/null @@ -1,30 +0,0 @@ -(when (memq window-system '(mac ns x)) - (dolist (var '("GOPATH" "GO15VENDOREXPERIMENT")) - (unless (getenv var) - (exec-path-from-shell-copy-env var)))) - -(use-package go-mode - :ensure t - :defer t - :config - (progn - (bind-key "C-c C-f" 'gofmt go-mode-map) - (bind-key "C-c h" 'godoc go-mode-map) - (bind-key "C-c C-g" 'go-goto-imports go-mode-map) - (bind-key "C-c C-r" 'go-remove-unused-imports go-mode-map)) - :init - (progn (add-hook 'go-mode-hook (lambda () - (go-eldoc-setup) - (add-hook 'before-save-hook 'gofmt-before-save) - (set (make-local-variable 'company-backends) '(company-go)))))) - -(use-package go-eldoc - :ensure t - :defer t - :init (add-hook 'go-mode-hook 'go-eldoc-setup)) - -(use-package company-go - :ensure t - :defer t) - -(provide 'lang-go) diff --git a/emacs.d/modes/lang-markdown.el b/emacs.d/modes/lang-markdown.el deleted file mode 100644 index f4f544d..0000000 --- a/emacs.d/modes/lang-markdown.el +++ /dev/null @@ -1,10 +0,0 @@ -(use-package markdown-mode - :ensure t - :mode ("\\.\\(m\\(ark\\)?down\\|md\\)$" . markdown-mode) - :config - (progn - (let ((preferred-markdown-impl "peg-markdown")) - (when (executable-find preferred-markdown-impl) - (setq markdown-command preferred-markdown-impl))))) - -(provide 'lang-markdown) diff --git a/emacs.d/modes/lang-python.el b/emacs.d/modes/lang-python.el deleted file mode 100644 index 582698b..0000000 --- a/emacs.d/modes/lang-python.el +++ /dev/null @@ -1,7 +0,0 @@ -(use-package python - :mode ("BUILD\\|\\(\\.\\(py\\|aurora\\)\\)$" . python-mode) - :config - (progn - (setq python-indent-offset 2))) - -(provide 'lang-python) diff --git a/emacs.d/modes/lang-scala.el b/emacs.d/modes/lang-scala.el deleted file mode 100644 index 6dde62d..0000000 --- a/emacs.d/modes/lang-scala.el +++ /dev/null @@ -1,7 +0,0 @@ -(use-package scala-mode - :ensure t) - -(use-package ensime - :ensure t) - -(provide 'lang-scala) diff --git a/emacs.d/modes/lang-scheme.el b/emacs.d/modes/lang-scheme.el deleted file mode 100644 index 1f0dec3..0000000 --- a/emacs.d/modes/lang-scheme.el +++ /dev/null @@ -1,6 +0,0 @@ -(use-package geiser - :config - (setq geiser-active-implementations '(racket)) - :ensure t) - -(provide 'lang-scheme) diff --git a/emacs.d/modes/lang-shell.el b/emacs.d/modes/lang-shell.el deleted file mode 100644 index 7d1ec0c..0000000 --- a/emacs.d/modes/lang-shell.el +++ /dev/null @@ -1,14 +0,0 @@ -(setq-default - sh-basic-offset 2 - sh-indentation 2) - -(use-package sh-script - :ensure t - :init - (progn - (dolist (pattern '("\\.bash_local\\'" - "\\.bash_profile\\'" - "\\.bash_login\\'" - "\\.bash_logout\\'" - "\\.bashrc\\'")) - (add-to-list 'auto-mode-alist (cons pattern 'sh-mode))))) -- cgit 1.4.1