From 67c2168998c829c8739a0a4f73ab9d6117d07f0a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 16 Feb 2019 14:10:22 -0800 Subject: [emacs] Split configuration in multiple files. This is actually an easier thing to maintain. --- emacs.d/custom/fcuny-edit.el | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 emacs.d/custom/fcuny-edit.el (limited to 'emacs.d/custom/fcuny-edit.el') diff --git a/emacs.d/custom/fcuny-edit.el b/emacs.d/custom/fcuny-edit.el new file mode 100644 index 0000000..5df8196 --- /dev/null +++ b/emacs.d/custom/fcuny-edit.el @@ -0,0 +1,29 @@ +(use-package autorevert + :config + (setq global-auto-revert-non-file-buffers t) + (setq auto-revert-verbose nil) + (global-auto-revert-mode t)) + +(use-package whitespace + :custom + (whitespace-style '(face trailing)) + (show-trailing-whitespace t) + :hook (whitespace-mode)) + +(use-package electric-pair-mode + :commands electric-pair-mode + :init (add-hook 'prog-mode-hook 'electric-pair-mode)) + +(use-package paren + :ensure t + :custom + (show-paren-delay 0) + :config + (show-paren-mode 1)) + +(use-package general + :config + (general-define-key + "M-j" 'join-line)) + +(provide 'fcuny-edit) -- cgit 1.4.1