From 912df73aab0375a1409f911770bcd23a289d6094 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 15 Aug 2020 15:50:43 +0200 Subject: Added evil-vimish-fold to Emacs --- .emacs.d/org/config.org | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to '.emacs.d/org') diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org index e45aec3..44a3ae4 100644 --- a/.emacs.d/org/config.org +++ b/.emacs.d/org/config.org @@ -118,12 +118,11 @@ (setq evil-want-keybinding nil) (setq evil-want-C-u-scroll t) (require 'evil) -(require 'evil-org) (require 'evil-magit) (require 'evil-mu4e) -(require 'evil-collection) +;; (require 'evil-collection) (evil-mode t) -(evil-collection-init) +;; (evil-collection-init) (setq evil-emacs-state-cursor '("#b16286" box)) @@ -155,6 +154,20 @@ (evil-leader/set-key "SPC" 'evil-search-highlight-persist-remove-all) #+END_SRC +*** Evil nerd commenter +#+BEGIN_SRC emacs-lisp +(require 'evil-nerd-commenter) +(evilnc-default-hotkeys) +#+END_SRC + +*** Vimish Fold + #+BEGIN_SRC emacs-lisp + (require 'vimish-fold) + (require 'evil-vimish-fold) + (add-hook 'prog-mode-hook 'evil-vimish-fold-mode) + (add-hook 'text-mode-hook 'evil-vimish-fold-mode) + #+END_SRC + *** Centaur tabs #+BEGIN_SRC emacs-lisp (require 'centaur-tabs) @@ -374,12 +387,6 @@ (setq w3m-default-display-inline-images t) #+END_SRC -*** Origami mode -#+BEGIN_SRC emacs-lisp -(require 'origami) -(add-hook 'prog-mode-hook 'origami-mode) -#+END_SRC - *** NeoTree #+BEGIN_SRC emacs-lisp (require 'neotree) @@ -568,12 +575,6 @@ buffer in current window." (global-set-key (kbd "C-c t") 'my/toggle-window-dedicated) #+END_SRC -*** evil nerd commenter -#+BEGIN_SRC emacs-lisp -(require 'evil-nerd-commenter) -(evilnc-default-hotkeys) -#+END_SRC - *** cargo #+BEGIN_SRC emacs-lisp (require 'cargo) -- cgit v1.2.3