diff options
author | Guangxiong Lin <[email protected]> | 2022-02-27 10:45:24 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-27 10:45:24 +0800 |
commit | f8183d1e6e8e29b45b49ab835887364ef8b431bd (patch) | |
tree | 2bcde50fc04217a52a54ce274cf15fcecc592200 | |
parent | 7554cc0e38d7aaf5702a9171a0508d753f342a7a (diff) | |
download | dotfiles-f8183d1e6e8e29b45b49ab835887364ef8b431bd.tar.gz dotfiles-f8183d1e6e8e29b45b49ab835887364ef8b431bd.tar.bz2 dotfiles-f8183d1e6e8e29b45b49ab835887364ef8b431bd.zip |
Add more modes (emacs)
-rw-r--r-- | .emacs.d/lisp/init-misc.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index 1772bbc..6675f22 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -27,6 +27,18 @@ (tool-bar-mode -1) (toggle-scroll-bar -1) (global-auto-revert-mode t) +(global-so-long-mode 1) + +(add-hook 'after-init-hook #'global-hl-line-mode) +(add-hook 'prog-mode-hook #'hs-minor-mode) ;; allow folding + +(use-package paren + :ensure nil + :init + (add-hook 'after-init-hook #'show-paren-mode) + :config + (setq show-paren-when-point-inside-paren t + show-paren-when-point-in-periphery t)) (use-package atom-one-dark-theme :ensure t |