From 1ded601e3f46fa9fd2a72d2d327c16b0e6bbaa75 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 11 Jan 2021 15:48:00 +0100 Subject: Update --- .config/emacs/init.el | 2 +- .config/emacs/org/config.org | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 19 deletions(-) (limited to '.config') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index f7a091f..ff266d6 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -38,7 +38,7 @@ '(jdee-db-spec-breakpoint-face-colors (cons "#1c1f2b" "#676E95")) '(objed-cursor-color "#ff5370") '(package-selected-packages - '(evil-leader evil-search-highlight-persist undo-tree helm-etags-plus helm-xref treemacs-projectile treemacs-magit treemacs-evil treemacs ibuffer-vc ibuffer-projectile eyebrowse diff-hl difflib fzf helm-fuzzy helm-fuzzy-find helm-ag evil-numbers ccls org-superstar company-lsp lsp-ui lsp-mode evil-mc evil-surround cl-format company-irony neotree irony xr font-utils org-evil evil-vimish-fold crontab-mode symon toc-org yaml-mode helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key dmenu lua-mode dionysos helm-c-yasnippet helm-emms emms font-lock-cl restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-magit dashboard ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode)) + '(evil-leader evil-search-highlight-persist undo-tree helm-etags-plus helm-xref treemacs-projectile treemacs-magit treemacs-evil treemacs ibuffer-vc ibuffer-projectile eyebrowse diff-hl difflib fzf helm-fuzzy helm-fuzzy-find helm-ag evil-numbers ccls org-superstar company-lsp lsp-ui lsp-mode evil-mc evil-surround company-irony neotree irony xr font-utils org-evil evil-vimish-fold crontab-mode symon toc-org yaml-mode helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key dmenu lua-mode dionysos helm-c-yasnippet helm-emms emms restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-magit dashboard ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode)) '(pdf-view-midnight-colors (cons "#EEFFFF" "#292D3E")) '(pos-tip-background-color "#2E2A29") '(pos-tip-foreground-color "#d4d4d6") 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) -- cgit v1.2.3