diff options
Diffstat (limited to 'emacs/custom/fcuny-edit.el')
| -rw-r--r-- | emacs/custom/fcuny-edit.el | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/emacs/custom/fcuny-edit.el b/emacs/custom/fcuny-edit.el deleted file mode 100644 index d40fd06..0000000 --- a/emacs/custom/fcuny-edit.el +++ /dev/null @@ -1,52 +0,0 @@ -;;; fcuny-edit.el --- Configure parts related to editing -;;; Commentary: -;;; Code: - -(require 'use-package) - -(use-package autorevert - :custom - (global-auto-revert-non-file-buffers t) - (auto-revert-verbose nil) - :config - (global-auto-revert-mode t)) - -(use-package whitespace - :hook ((prog-mode . fcuny/whitespace-setup) - (conf-mode . fcuny/whitespace-setup) - (outline-mode . fcuny/whitespace-setup) - (yaml-mode . fcuny/whitespace-setup)) - - :custom - (whitespace-style '(face)) - (show-trailing-whitespace nil) - - :init - (defun fcuny/whitespace-setup () - (setq show-trailing-whitespace t))) - -(use-package electric-pair-mode - :commands electric-pair-mode - :hook (prog-mode . electric-pair-mode)) - -(use-package paren - :ensure t - :custom - (show-paren-delay 0) - (show-paren-highlight-openparen t) - (show-paren-when-point-inside-paren t) - (show-paren-when-point-in-periphery t) - :config - (show-paren-mode 1)) - -(global-set-key (kbd "M-j") 'join-line) - -;; don't assume that sentences should have two spaces after period. -(setq sentence-end-double-space nil) - -;; switch to view-mode whenever you are in a read-only buffer (e.g. -;; switched to it using C-x C-q). -(setq view-read-only t) - -(provide 'fcuny-edit) -;;; fcuny-edit.el ends here |
