diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-02-16 14:10:22 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-02-16 14:10:22 -0800 |
commit | 67c2168998c829c8739a0a4f73ab9d6117d07f0a (patch) | |
tree | a4dcb9f8a99f527187b08e77aea85e632c6a1396 /emacs.d/custom/fcuny-edit.el | |
parent | [emacs] Add a function to select and copy buffer. (diff) | |
download | emacs.d-67c2168998c829c8739a0a4f73ab9d6117d07f0a.tar.gz |
[emacs] Split configuration in multiple files.
This is actually an easier thing to maintain.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/custom/fcuny-edit.el | 29 |
1 files changed, 29 insertions, 0 deletions
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) |