[org-roam] Add "r" key to refresh org-roam links list buffer

This matches the org-agenda key, and is doubly important since we need to
refresh regularly to workaround the page-break-lines bug, as described here
https://github.com/syl20bnr/spacemacs/issues/14969#issuecomment-894624932
This commit is contained in:
Benjamin Hipple 2021-08-22 14:12:11 -04:00 committed by Maxi Wolff
parent 8c931b9c86
commit 195a228927
2 changed files with 6 additions and 2 deletions

View File

@ -1130,4 +1130,7 @@ Key binding prefixes:
| ~SPC m r t r~ | Remove a tag from file |
*org-roam buffer*
| ~o~ | Follow link |
| Key binding | Description |
|-------------+-------------------------|
| ~o~ | Follow link |
| ~r~ | Refresh org-roam buffer |

View File

@ -970,7 +970,8 @@ Headline^^ Visit entry^^ Filter^^ Da
(evilified-state-evilify-map org-roam-mode-map
:mode org-roam-mode
:bindings
"o" 'link-hint-open-link))))
"o" 'link-hint-open-link
"r" 'org-roam-buffer-refresh))))
(defun org/init-org-sticky-header ()
(use-package org-sticky-header