diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-01-11 15:48:00 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-01-11 15:48:00 +0100 |
commit | 1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75 (patch) | |
tree | cd69a5f15ae89bbe6483f83d4b470cae2c949d4c /.config/emacs/org/config.org | |
parent | Removed CDE (diff) | |
download | dotfiles-bsd-1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75.tar.gz dotfiles-bsd-1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75.tar.bz2 dotfiles-bsd-1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75.tar.xz dotfiles-bsd-1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75.tar.zst dotfiles-bsd-1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75.zip |
Update
Diffstat (limited to '.config/emacs/org/config.org')
-rw-r--r-- | .config/emacs/org/config.org | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org index c70946b..0ab389b 100644 --- a/.config/emacs/org/config.org +++ b/.config/emacs/org/config.org @@ -135,6 +135,24 @@ #+END_SRC ** Core packages +*** Autopair +#+BEGIN_SRC emacs-lisp +(require 'autopair) +(autopair-global-mode) +#+END_SRC + +*** Paredit +#+BEGIN_SRC emacs-lisp +(require 'paredit) +(defadvice paredit-mode (around disable-autopairs-around (arg)) + ad-do-it + (if (null ad-return-value) + (autopair-mode 1) + (autopair-mode -1) +)) +(ad-activate 'paredit-mode) +#+END_SRC + *** Evil mode #+BEGIN_SRC emacs-lisp (setq evil-want-integration t) ;; This is optional since it's already set to t by default. @@ -456,24 +474,6 @@ (setq c-default-style "openbsd") #+END_SRC -*** Autopair -#+BEGIN_SRC emacs-lisp -(require 'autopair) -(autopair-global-mode) -#+END_SRC - -*** Paredit -#+BEGIN_SRC emacs-lisp -(require 'paredit) -(defadvice paredit-mode (around disable-autopairs-around (arg)) - ad-do-it - (if (null ad-return-value) - (autopair-mode 1) - (autopair-mode -1) -)) -(ad-activate 'paredit-mode) -#+END_SRC - *** Magit #+BEGIN_SRC emacs-lisp (require 'magit) |