From e256e62dfab8e928815144699a486ccf1631b05e Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 11:17:08 +0100 Subject: Emacs Configuration Source Rename --- emacs.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 emacs.el (limited to 'emacs.el') diff --git a/emacs.el b/emacs.el new file mode 100644 index 0000000..07f436f --- /dev/null +++ b/emacs.el @@ -0,0 +1,20 @@ +;; https://elpa.gnu.org/packages/aggressive-indent.html +;; Automatic Activation of Aggressive Indent + +(global-aggressive-indent-mode 1) + +;; http://company-mode.github.io/ +;; Automatic Activation of Company Mode + +(add-hook 'after-init-hook 'global-company-mode) + +;; https://www.emacswiki.org/emacs/ParEdit +;; Automatic Activation of ParEdit + +(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) +(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) +(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) +(add-hook 'ielm-mode-hook #'enable-paredit-mode) +(add-hook 'lisp-mode-hook #'enable-paredit-mode) +(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) +(add-hook 'scheme-mode-hook #'enable-paredit-mode) \ No newline at end of file -- cgit v1.2.3