feat: seperate keybinds folder

This commit is contained in:
Muhammad Nauman Raza 2022-11-09 07:02:57 +00:00
parent 8928ab353b
commit 1a87f19d3b
No known key found for this signature in database
GPG key ID: A9A36C429C9CAE31
6 changed files with 33 additions and 11 deletions

10
bookmarks Normal file
View file

@ -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))
)

View file

@ -38,4 +38,5 @@
(require 'interface) (require 'interface)
(require 'editor) (require 'editor)
(require 'org-mode) (require 'org-mode)
(require 'keybinds)
(require 'performance) (require 'performance)

View file

@ -42,15 +42,15 @@
(general-evil-setup t) (general-evil-setup t)
:init :init
(general-create-definer diancite/leaders (general-create-definer diancite/leaders
:prefix "SPC")) :prefix leader-key))
(diancite/leaders (diancite/leaders
:keymaps 'normal :keymaps 'normal
"f" '(:which-key "File") "f" '(:wk "File")
"n" '(:which-key "Org") "n" '(:wk "Org")
"m" '(:which-key "Magit") "m" '(:wk "Magit")
"w" '(:which-key "Evil") "w" '(:wk "Evil")
"p" '(:which-key "Projects")) "p" '(:wk "Projects"))
(set-face-foreground 'vertical-border (face-background 'default)) (set-face-foreground 'vertical-border (face-background 'default))

13
lisp/keybinds.el Normal file
View file

@ -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)

View file

@ -4,9 +4,8 @@
;; org-superstar ;; org-superstar
(use-package org-superstar (use-package org-superstar
:config :config
;; Change org-mode's heading bullets ;; Change org-mode's heading bullets (setq org-superstar-headline-bullets-list
(setq org-superstar-headline-bullets-list '("🞉" "🞈" "🞇" "🞆" "🞅" "🞄"))
'("🞉" "🞈" "🞇" "🞆" "🞅" "🞄")))
;; Customize org-mode's default functionality ;; Customize org-mode's default functionality
(setq org-ellipsis "..." (setq org-ellipsis "..."
@ -46,7 +45,6 @@
:custom :custom
(org-directory file-truename "Org/") ; Set the folder used by org-mode (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-directory (file-truename "Org/Roam/")) ; Set the folder used by org-roam
(org-roam-databse-connector 'sqlite3)
:init :init
(org-roam-db-autosync-mode 1)) ; Automatically sync nodes (org-roam-db-autosync-mode 1)) ; Automatically sync nodes
@ -63,7 +61,7 @@
(diancite/org (diancite/org
:keymaps 'normal :keymaps 'normal
"n r" '(org-roam-node-find :wk "Find Nodes") "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 this file to init.el
(provide 'org-mode) (provide 'org-mode)

BIN
org-roam.db Normal file

Binary file not shown.