Commit fb20d3c1d8f0

Vincent Demeester <vincent@sbr.pm>
2018-04-26 18:47:25
Setup direnv and smartparens
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 0c2a978
lisp/vde-editing.el
@@ -4,6 +4,20 @@
   :init (global-undo-tree-mode)
   :config (setq undo-tree-visualizer-timestamps t))
 
+(use-package smartparens
+  :ensure t
+  :pin melpa
+  :init
+  (progn
+    (use-package smartparens-config)
+    (show-smartparens-global-mode 1))
+  :config
+  (progn
+    (require 'smartparens-config)
+    (add-hook 'prog-mode-hook 'turn-on-smartparens-strict-mode)
+    (add-hook 'markdown-mode-hook 'turn-on-smartparens-strict-mode)
+    ))
+
 (provide 'vde-editing)
 
 ;; Local Variables:
lisp/vde-files.el
@@ -15,6 +15,11 @@
 
 (setq view-read-only t)                 ; View read-only
 
+(use-package direnv
+  :ensure t
+  :config
+  (direnv-mode))
+
 (use-package hardhat                    ; Protect user-writable files
   :ensure t
   :init (global-hardhat-mode))
lisp/vde-windows.el
@@ -84,7 +84,7 @@
     (setq shackle-default-size 0.25)
 
     (setq shackle-rules
-          '((compilation-mode              :select nil :popup t               :size 0.20 :align below)
+          '((compilation-mode              :select nil :popup t               :size 0.15 :align below)
             ("*undo-tree*"                                                    :size 0.25 :align right)
             ("*eshell*"                    :select t                          :other t               )
             ("*Shell Command Output*"      :select nil                                               )