Evilify and add follow link (hint) keybinding to org-roam buffer

This commit is contained in:
Daniel Nicolai 2021-08-03 17:28:42 +02:00 committed by duianto
parent 9bb3115bce
commit 8b05eb47c0
2 changed files with 10 additions and 1 deletions

View File

@ -1128,3 +1128,6 @@ Key binding prefixes:
| ~SPC m r d d~ | Open daily note via calendar view |
| ~SPC m r t a~ | Add a tag to file |
| ~SPC m r t r~ | Remove a tag from file |
*org-roam buffer*
| ~o~ | Follow link |

View File

@ -959,12 +959,18 @@ Headline^^ Visit entry^^ Filter^^ Da
"rta" 'org-roam-tag-add
"rtr" 'org-roam-tag-remove
"ra" 'org-roam-alias-add))
:config
(progn
(spacemacs|hide-lighter org-roam-mode)
(when org-enable-roam-protocol
(add-hook 'org-roam-mode-hook (lambda ()
(require 'org-roam-protocol)))))))
(require 'org-roam-protocol))))
(evilified-state-evilify-map org-roam-mode-map
:mode org-roam-mode
:bindings
"o" 'link-hint-open-link))))
(defun org/init-org-sticky-header ()
(use-package org-sticky-header