Compare commits

...

3 Commits

Author SHA1 Message Date
Alexandre LUCAZEAU 8c306a16f4 Merge branch 'main' of git.atlanticaweb.fr:alexandre/nixos-config 2023-02-02 17:11:29 +01:00
Alexandre LUCAZEAU 8900d882fc
UPDATE emacs config : remember and restore the last cursor location of file 2023-02-02 09:53:47 +01:00
Alexandre LUCAZEAU df700bb704
UPDATE emacs config : remember history 2023-02-02 09:51:59 +01:00
2 changed files with 18 additions and 2 deletions

View File

@ -57,6 +57,12 @@
;; Only y/n answers
(defalias 'yes-or-no-p 'y-or-n-p)
;; Save what you enter into minibuffer prompts
(setq history-length 25)
(savehist-mode 1)
;; Remember and restore the last cursor location of opened files
(save-place-mode 1)
;; Backup
@ -305,7 +311,17 @@
("C-c n o" . org-id-get-create)
("C-c n t" . org-roam-tag-add)
("C-c n a" . org-roam-alias-add)
("C-c n l" . org-roam-buffer-toggle)))))
("C-c n l" . org-roam-buffer-toggle)
("C-c n o" . org-open-at-point)
("C-M-i" . completion-at-point))))
(:map org-roam-dailies-map
(("Y" . org-roam-dailies-capture-yesterday)
("T" . org-roam-dailies-capture-tomorrow)))
:bind-keymap
("C-c n d" . org-roam-dailies-map)
:config
(require 'org-roam-dailies) ;; Ensure the keymap is available
(org-roam-db-autosync-mode))
;; org-mode
(require 'org)

View File

@ -30,6 +30,6 @@
};
};
signing.key = "3C8ADB07A8217BD3";
signing.signByDefault = true;
signing.signByDefault = false;
};
}