Add org-brain bindings for visiting entries and adding headlines and resources

This commit is contained in:
Oguz Serbetci 2019-05-20 23:52:23 +02:00 committed by smile13241324
parent 2384c7e5d2
commit c023542948
3 changed files with 8 additions and 2 deletions

View File

@ -2068,7 +2068,7 @@ Other:
- Remove =mu4e= and =notmuch= from =org= (thanks to Sylvain Benner)
- Use evil-org from MELPA (thanks to Eivind Fonn)
- Added =org-brain= (thanks to Matthías Páll Gissurarson and Eivind Fonn)
- Added detailed =org-brain= bindings (thanks to Langston Barret)
- Added detailed =org-brain= bindings (thanks to Langston Barret and Oguz Serbetci)
- Added layer variable for todo bindings (thanks to Eivind Fonn)
- Made =org-projectile= integration compatible with its new version
(thanks to Ivan Malison)

View File

@ -785,8 +785,11 @@ are available.
| Key binding | Description |
|---------------+------------------------------|
| ~SPC m B a c~ | Add child |
| ~SPC m B a h~ | Add headline child |
| ~SPC m B a f~ | Add friend |
| ~SPC m B a p~ | Add parent |
| ~SPC m B a r~ | Add resource |
| ~SPC m B g g~ | Go to an org-brain entry |
| ~SPC m B g c~ | Go to child |
| ~SPC m B g f~ | Go to friend |
| ~SPC m B g p~ | Go to parent |

View File

@ -566,10 +566,13 @@ Headline^^ Visit entry^^ Filter^^ Da
(spacemacs/declare-prefix-for-mode 'org-mode "mBa" "add")
(spacemacs/declare-prefix-for-mode 'org-mode "mBg" "goto")
(spacemacs/set-leader-keys-for-major-mode 'org-mode
"Bac" 'org-brain-add-child
"Bv" 'org-brain-visualize
"Bac" 'org-brain-add-child
"Bah" 'org-brain-add-child-headline
"Bap" 'org-brain-add-parent
"Bar" 'org-brain-add-resource
"Baf" 'org-brain-add-friendship
"Bgg" 'org-brain-goto
"Bgc" 'org-brain-goto-child
"Bgp" 'org-brain-goto-parent
"Bgf" 'org-brain-goto-friend