diff options
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-git.el | 4 | ||||
-rw-r--r-- | .emacs.d/lisp/init-org-roam.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-git.el b/.emacs.d/lisp/init-git.el index 931f678..04c0230 100644 --- a/.emacs.d/lisp/init-git.el +++ b/.emacs.d/lisp/init-git.el @@ -1,5 +1,7 @@ (when (gx/maybe-require-package 'magit) - (autoload #'magit-status "magit-status" nil t)) + (define-key global-map (kbd "C-x g") #'magit-status)) + +(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1) (with-eval-after-load 'evil (evil-define-key 'normal 'global diff --git a/.emacs.d/lisp/init-org-roam.el b/.emacs.d/lisp/init-org-roam.el index f460761..268c322 100644 --- a/.emacs.d/lisp/init-org-roam.el +++ b/.emacs.d/lisp/init-org-roam.el @@ -17,6 +17,7 @@ (kbd "<leader>in") 'org-roam-node-insert (kbd "[d") 'org-roam-dailies-goto-previous-note (kbd "]d") 'org-roam-dailies-goto-next-note)) + (setq org-roam-directory (file-truename "~/words")) (setq org-roam-db-gc-threshold most-positive-fixnum) (setq org-roam-dailies-directory "journals/") @@ -38,6 +39,7 @@ "* %?" :target (file+head "%<%Y/%Y>.org" "#+title: %<%Y>\n")))) +(setq org-roam-node-display-template "${title} - ${file}") ;; roam ui (when (gx/maybe-require-package 'org-roam-ui) |