summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-08-13 20:09:08 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-08-13 20:09:08 +0200
commit9405d5f8c6096c774c4084b859bed911e020ff94 (patch)
treee5b50b3299480a636160281874d96cfb34c3c838 /emacs.el
parentfbaa32bee54361d1690dee8ce5f93a2d33211c8f (diff)
Emacs Configuration Source Rename
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el20
1 files changed, 20 insertions, 0 deletions
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