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

Quelques petites améliorations de l'interface

parent 1606642e
Branches
No related tags found
No related merge requests found
/recentf /recentf
auto-save-list auto-save-list
myinit.el
*~ *~
\#* \#*
*.elc *.elc
\ No newline at end of file
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
'(org-startup-indented t) '(org-startup-indented t)
'(package-selected-packages '(package-selected-packages
(quote (quote
(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 treemacs-projectile treemacs 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 doom-modeline doom-themes 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))) (rainbow-delimiters 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 treemacs-projectile treemacs 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 doom-modeline doom-themes 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 t)) '(sp-escape-quotes-after-insert nil))
(setq max-lisp-eval-depth 10000) (setq max-lisp-eval-depth 10000)
(setq max-specpdl-size 10000) (setq max-specpdl-size 10000)
(require 'package) (require 'package)
......
This diff is collapsed.
...@@ -7,9 +7,29 @@ ...@@ -7,9 +7,29 @@
* interface tweaks * interface tweaks
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq inhibit-startup-message t) (setq inhibit-startup-message t)
;; use more memory before using garbage collector
(setq gc-cons-threshold 64000000)
(add-hook 'after-init-hook #'(lambda ()
;; restore after startup
(setq gc-cons-threshold 800000)))
;; no toolbar
(tool-bar-mode -1) (tool-bar-mode -1)
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)
(global-set-key (kbd "<f5>") 'revert-buffer) (global-set-key (kbd "<f5>") 'revert-buffer)
;; Show column numbers by default
(setq column-number-mode t)
;; Disable the horrid auto-save
(setq auto-save-default nil)
;; Enable auto-fill
(turn-on-auto-fill)
;; Disable auto-fill-mode in programming mode
(add-hook 'prog-mode-hook (lambda () (auto-fill-mode -1)))
#+END_SRC #+END_SRC
* try * try
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
...@@ -309,6 +329,17 @@ ...@@ -309,6 +329,17 @@
:config :config
(load-theme 'sourcerer t)) (load-theme 'sourcerer t))
#+END_SRC #+END_SRC
* Rainbow delimiters
#+BEGIN_SRC emacs-lisp
(use-package rainbow-delimiters
:ensure t
:init
(eval-when-compile
;; Silence missing function warnings
(declare-function rainbow-delimiters-mode "rainbow-delimiters.el"))
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
#+END_SRC
* Reveal.js * Reveal.js
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
(use-package ox-reveal (use-package ox-reveal
...@@ -948,6 +979,7 @@ ...@@ -948,6 +979,7 @@
: mz/make-and-run-elfeed-hydra : mz/make-and-run-elfeed-hydra
* c++ * c++
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ggtags (use-package ggtags
:ensure t :ensure t
......
nil ("~/using-emacs/" "~/pugs/")
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment