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 'editor)
(require 'org-mode)
(require 'keybinds)
(require 'performance)

View file

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

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

BIN
org-roam.db Normal file

Binary file not shown.