Updates to emacs config to fix file syncing issues
This commit is contained in:
parent
d23b2454d4
commit
cc9c369ef2
@ -28,6 +28,16 @@ Disables the dialog prompting box and instead prompts the user in the minibuffer
|
||||
(setq use-dialog-box nil)
|
||||
#+end_src
|
||||
|
||||
** Global Auto Revert
|
||||
|
||||
Enabling global auto revert in Emacs so that changes across a shared file system are synced with emacs buffers.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(global-auto-revert-mode 1)
|
||||
(setq auto-revert-use-notify nil)
|
||||
(setq auto-revert-verbose 1)
|
||||
#+end_src
|
||||
|
||||
** Relocate Custom File
|
||||
|
||||
Change location of custom file. This will stop *custom* from appending to the config file.
|
||||
|
@ -6,6 +6,8 @@ Creates a function to refresh the ~org-agenda-files~ variable to be set to inclu
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defun jm/org-roam-refresh-agenda-list ()
|
||||
(interactive)
|
||||
(org-roam-db-sync)
|
||||
(let ((directory (expand-file-name org-roam-dailies-directory org-roam-directory)))
|
||||
(setq org-agenda-files
|
||||
(seq-filter
|
||||
|
@ -175,7 +175,8 @@ Org-roam is a plain-text knowledge management system. It brings some of Roam's m
|
||||
("C-c n i" . org-roam-node-insert)
|
||||
("C-c n c" . org-roam-capture)
|
||||
("C-c n o" . org-id-get-create)
|
||||
("C-c n t" . jm/org-roam-capture-today))
|
||||
("C-c n t" . jm/org-roam-capture-today)
|
||||
("C-c n r" . jm/org-roam-refresh-agenda-list))
|
||||
:config
|
||||
;; Config for org-roam capture templates.
|
||||
(setq jm/org-roam-templates-directory (expand-file-name "templates" org-roam-directory)
|
||||
|
@ -5,5 +5,6 @@
|
||||
discord
|
||||
shotcut
|
||||
libreoffice
|
||||
bitwarden-desktop
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user