From 338663f355c4055c51439c8942a1b3a5a137f27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E4=BD=8F=E6=9F=B1=E9=96=93?= Date: Mon, 22 Jan 2024 05:06:48 +0000 Subject: [PATCH] add keybinding for the note workflow --- emacs.d/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs.d/init.el b/emacs.d/init.el index fec14bf..333edba 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -1,3 +1,7 @@ +;; this emacs configuration is heavily dependant on the guix configuration, which manages the packages. +;; the org-roam-ui packages uses a specific version of org-roam, please dont install the org-roam from +;; the main guix repo, let the package org-roam-ui do that automatically. + (add-hook 'scheme-mode-hook 'guix-devel-mode) (dirvish-override-dired-mode) @@ -60,6 +64,10 @@ (advice-add 'xeft-previous :after #'xeft--eager-preview) +(global-set-key (kbd "C-c C-n") 'org-roam-capture) +(global-set-key (kbd "C-c C-k") 'xeft) + + ;; Disable menu bar, tool bar, and scroll bar (menu-bar-mode -1) (tool-bar-mode -1)