diff --git a/bookmarks b/bookmarks new file mode 100644 index 0000000..8065327 --- /dev/null +++ b/bookmarks @@ -0,0 +1,10 @@ +;;;; Emacs Bookmark Format Version 1;;;; -*- coding: utf-8-emacs; mode: lisp-data -*- +;;; This format is meant to be slightly human-readable; +;;; nevertheless, you probably don't want to edit it. +;;; -*- End Of Bookmark File Format Version Stamp -*- +(("org-capture-last-stored" + (filename . "~/Org/Roam/homeostasis.org") + (front-context-string . "\n* Structures & ") + (rear-context-string . "al environment.\n") + (position . 233)) +) diff --git a/init.el b/init.el index 26fbdcb..153eb0d 100644 --- a/init.el +++ b/init.el @@ -38,4 +38,5 @@ (require 'interface) (require 'editor) (require 'org-mode) +(require 'keybinds) (require 'performance) diff --git a/lisp/editor.el b/lisp/editor.el index 4f624b7..5291e1b 100644 --- a/lisp/editor.el +++ b/lisp/editor.el @@ -42,15 +42,15 @@ (general-evil-setup t) :init (general-create-definer diancite/leaders - :prefix "SPC")) + :prefix leader-key)) (diancite/leaders :keymaps 'normal - "f" '(:which-key "File") - "n" '(:which-key "Org") - "m" '(:which-key "Magit") - "w" '(:which-key "Evil") - "p" '(:which-key "Projects")) + "f" '(:wk "File") + "n" '(:wk "Org") + "m" '(:wk "Magit") + "w" '(:wk "Evil") + "p" '(:wk "Projects")) (set-face-foreground 'vertical-border (face-background 'default)) diff --git a/lisp/keybinds.el b/lisp/keybinds.el new file mode 100644 index 0000000..81dab5f --- /dev/null +++ b/lisp/keybinds.el @@ -0,0 +1,13 @@ +;;; This file contains keybindings for Dianciemacs + +;; Files +(general-create-definer diancite/file + :prefix leader-key) + +(diancite/file + :keymaps 'normal + "f f" '(find-file :wk "Find File") + "f s" '(save-buffer :wk "Save Buffer")) + +;; Provide file file init.el +(provide 'keybinds) diff --git a/lisp/org-mode.el b/lisp/org-mode.el index cdd8a0b..d79c3ed 100644 --- a/lisp/org-mode.el +++ b/lisp/org-mode.el @@ -4,9 +4,8 @@ ;; org-superstar (use-package org-superstar :config - ;; Change org-mode's heading bullets - (setq org-superstar-headline-bullets-list - '("🞉" "🞈" "🞇" "🞆" "🞅" "🞄"))) + ;; Change org-mode's heading bullets (setq org-superstar-headline-bullets-list + '("🞉" "🞈" "🞇" "🞆" "🞅" "🞄")) ;; Customize org-mode's default functionality (setq org-ellipsis "..." @@ -46,7 +45,6 @@ :custom (org-directory file-truename "Org/") ; Set the folder used by org-mode (org-roam-directory (file-truename "Org/Roam/")) ; Set the folder used by org-roam - (org-roam-databse-connector 'sqlite3) :init (org-roam-db-autosync-mode 1)) ; Automatically sync nodes @@ -63,7 +61,7 @@ (diancite/org :keymaps 'normal "n r" '(org-roam-node-find :wk "Find Nodes") - "n a" '(org-table-align :wk "Align Table")) + "n s" '(org-roam-db-sync :wk "Sync Nodes")) ;; Provide this file to init.el (provide 'org-mode) diff --git a/org-roam.db b/org-roam.db new file mode 100644 index 0000000..64b8622 Binary files /dev/null and b/org-roam.db differ