Skip to content
Snippets Groups Projects
Commit ab5dab60 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Permet les configurations locales

parent 24aa196d
Branches
Tags
No related merge requests found
......@@ -27,3 +27,4 @@ auto-save-list
/tramp
/Tutoriel.pyg
/_minted-Tutoriel/
/custom.el
;;; .init-custom --- Customisation initlale
;;; Commentary:
;;;
;;; NE PAS EDITER CE FICHIER
;;; CUSTOMISATION INITIALE DES VARIABLES POUR LA CONFIG
;;;
;;; CHANGER LES VALEURS ICI N'AURA PAS D'EFFET POUR QUE DES
;;; CHANGEMENTS AIENT UN EFFET IL FAUT SUPPRIMER LE FICHIER
;;; "custom.el" CE QUI N'EST GENERALEMENT PAS RECOMMANDÉ
;;;
;;; Code:
(custom-set-variables
'(TeX-command-extra-options "-synctex=1")
'(all-the-icons-ivy-buffer-commands (quote (ivy-switch-buffer-other-window ivy-switch-buffer)))
'(display-line-numbers-widen t)
'(elpy-rpc-backend "jedi" t)
'(hydra-hint-display-type (quote posframe))
'(irony-cdb-search-directory-list (quote ("." "build")))
'(ispell-dictionary "american")
'(org-confirm-babel-evaluate nil)
'(org-default-notes-file (concat org-directory "/notes.org"))
'(org-export-html-postamble nil)
'(org-hide-leading-stars t)
'(org-latex-listings (quote minted))
'(org-src-fontify-natively t)
'(org-startup-folded (quote overview))
'(org-startup-indented t)
'(package-selected-packages
(quote
(better-shell flycheck-irony tabbar cmake-font-lock alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package)))
'(sp-escape-quotes-after-insert nil))
(custom-set-faces
'(aw-leading-char-face ((((class color) (min-colors 16777215)) (:foreground "#fb4933" :background "#282828" :height 4.0)) (((class color) (min-colors 255)) (:foreground "#d75f5f" :background "#262626" :height 4.0)))))
;;; .init-custom.el ends here
......@@ -40,37 +40,17 @@
(emacs-lisp-mode-hook . 'enable-auto-async-byte-compile-mode))
(org-babel-load-file (expand-file-name "~/.emacs.d/Configuration.org"))
(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.
'(TeX-command-extra-options "-synctex=1")
'(all-the-icons-ivy-buffer-commands (quote (ivy-switch-buffer-other-window ivy-switch-buffer)))
'(display-line-numbers-widen t)
'(elpy-rpc-backend "jedi" t)
'(hydra-hint-display-type (quote posframe))
'(irony-cdb-search-directory-list (quote ("." "build")))
'(ispell-dictionary "american")
'(org-confirm-babel-evaluate nil)
'(org-default-notes-file (concat org-directory "/notes.org"))
'(org-export-html-postamble nil)
'(org-hide-leading-stars t)
'(org-latex-listings (quote minted))
'(org-src-fontify-natively t)
'(org-startup-folded (quote overview))
'(org-startup-indented t)
'(package-selected-packages
(quote
(better-shell flycheck-irony tabbar cmake-font-lock alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package)))
'(sp-escape-quotes-after-insert nil))
(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.
'(aw-leading-char-face ((((class color) (min-colors 16777215)) (:foreground "#fb4933" :background "#282828" :height 4.0)) (((class color) (min-colors 255)) (:foreground "#d75f5f" :background "#262626" :height 4.0)))))
;;; Ajout de configuration personnelle
(setq custom-file "~/.emacs.d/custom.el")
;;; Charge la configuration et éventuellement la sauve si le fichier
;;; de customization n'existe pas
(if (file-exists-p "~/.emacs.d/custom.el")
(load-file "~/.emacs.d/custom.el")
;; else
(load-file "~/.emacs.d/.init-custom.el")
(customize-save-customized))
;;; Local Variables:
;;; byte-compile-warnings: (not free-vars)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment