summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-edit.el
blob: 5df8196843a46c798785ab702b20aea079d2ddfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)