about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-02-10 19:16:48 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-02-10 19:35:20 +0100
commit6e532841c0f18b4d3009743ab4e6c9a362e5af81 (patch)
tree1ef054dc8c8ff74421206bb967e7b2087ddc5d91
parentDotfiles: Emacs: Fix emacs daemon fonts (diff)
downloadnixos-config-6e532841c0f18b4d3009743ab4e6c9a362e5af81.tar.gz
nixos-config-6e532841c0f18b4d3009743ab4e6c9a362e5af81.tar.bz2
nixos-config-6e532841c0f18b4d3009743ab4e6c9a362e5af81.zip
Dotfiles: Emacs: Add sidebar
-rw-r--r--dotfiles/.emacs13
1 files changed, 8 insertions, 5 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 81600bf..8d77bb3 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -17,8 +17,6 @@
   :config
   (evil-mode 1))
 
-(setq create-lockfiles nil)
-
 (use-package evil-collection
   :after evil
   :ensure t 
@@ -39,12 +37,15 @@
   )
 )
 
-(add-hook 'after-init-hook 'my/setup-font-faces)
+(add-hook 'after-init-hook
+          (lambda ()
+            (my/setup-font-faces)))
 (add-hook 'server-after-make-frame-hook 'my/setup-font-faces)
 
-(setq-default line-spacing 0.10)
+(setq default-line-spacing 0.10)
 
 (setq make-backup-files nil)
+(setq create-lockfiles nil)
 
 ;; Disable toolbar, menubar and scrollbar
 (menu-bar-mode -1)
@@ -129,4 +130,6 @@
 
 (use-package dired-sidebar
   :ensure t
-  :commands (dired-sidebar-toggle-sidebar))
+  :commands (dired-sidebar-toggle-sidebar)
+  :init
+  (dired-sidebar-toggle-sidebar))