Edit emacs config

This commit is contained in:
2025-06-13 15:23:08 -04:00
parent 963e2b1294
commit 796808a38a
2 changed files with 10 additions and 7 deletions

View File

@@ -49,11 +49,10 @@
;; prevent resizing of the frame ;; prevent resizing of the frame
(setq frame-inhibit-implied-resize t) (setq frame-inhibit-implied-resize t)
;; no bars when graphical ;; no bars
(when (display-graphic-p) (menu-bar-mode -1)
(menu-bar-mode -1) (tool-bar-mode -1)
(tool-bar-mode -1) (scroll-bar-mode -1)
(scroll-bar-mode -1))
;; no startup screen ;; no startup screen
(setq inhibit-startup-screen t) (setq inhibit-startup-screen t)

View File

@@ -281,8 +281,8 @@
(prog-mode . yas-minor-mode) (prog-mode . yas-minor-mode)
:config :config
(setq yas-snippet-dirs (setq yas-snippet-dirs
'("~/.config/emacs/snippets" ;; personal '((expand-file-name "snippets/" user-emacs-directory) ;; personal
"~/.config/emacs/work"))) ;; keep em separated (expand-file-name "work/" user-emacs-directory)))) ;; keep em separated
;; nix ;; nix
(use-package nix-ts-mode (use-package nix-ts-mode
@@ -397,7 +397,11 @@
;; agenda ;; agenda
(require 'find-lisp) (require 'find-lisp)
(unless (file-exists-p "~/Documents/org")
(make-directory "~/Documents/org" t))
(setq org-directory "~/Documents/org") (setq org-directory "~/Documents/org")
(unless (file-exists-p (expand-file-name "gtd/" org-directory))
(make-directory (expand-file-name "gtd/" org-directory) t))
(setq chase/org-agenda-directory (setq chase/org-agenda-directory
(expand-file-name "gtd/" org-directory)) (expand-file-name "gtd/" org-directory))
(setq org-agenda-files (setq org-agenda-files