Created
June 18, 2015 15:13
-
-
Save zsoltika/73cf26adc4a9a0fa409c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq yafolding-packages | |
'( | |
yafolding | |
)) | |
;; List of packages to exclude. | |
(setq yafolding-excluded-packages '()) | |
(defun yafolding/init-my-package () | |
"Initialize my package" | |
(use-package yafolding | |
:commands (yafolding-mode yafolding-toggle-element yafolding-hide-parent-element) | |
:mode ("\\.\\(pks\\|sql\\|prc\\)\\'" . yafolding-mode) | |
:defer t | |
:init | |
(progn | |
(evil-leader/set-key-for-mode 'yafolding-mode | |
"ot" 'yafolding-toggle-element | |
"op" 'yafolding-hide-parent-element)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment