Add org-brain keybindings
This commit is contained in:
parent
072c01f5f5
commit
d18f9da683
|
@ -1769,6 +1769,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 layer variable for todo bindings (thanks to Eivind Fonn)
|
||||
- Made =org-projectile= integration compatible with its new version (thanks to
|
||||
Ivan Malison)
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
- [[#org-journal][Org-journal]]
|
||||
- [[#org-brain][Org-brain]]
|
||||
- [[#application-bindings][Application bindings]]
|
||||
- [[#org-mode-bindings][org-mode bindings]]
|
||||
- [[#visualization-bindings][Visualization bindings]]
|
||||
|
||||
* Description
|
||||
|
@ -746,9 +747,24 @@ are available.
|
|||
** Org-brain
|
||||
*** Application bindings
|
||||
|
||||
| Key binding | Description |
|
||||
|-------------+------------------------------|
|
||||
| ~SPC a o b~ | Visualize an org-brain entry |
|
||||
| Key binding | Description |
|
||||
|---------------+------------------------------|
|
||||
| ~SPC a o B v~ | Visualize an org-brain entry |
|
||||
| ~SPC a o B a~ | Go to the org-brain agenda |
|
||||
|
||||
*** org-mode bindings
|
||||
|
||||
| Key binding | Description |
|
||||
|---------------+------------------------------|
|
||||
| ~SPC m B a c~ | Add child |
|
||||
| ~SPC m B a p~ | Add parent |
|
||||
| ~SPC m B a f~ | Add friend |
|
||||
| ~SPC m B g c~ | Go to child |
|
||||
| ~SPC m B g p~ | Go to parent |
|
||||
| ~SPC m B g f~ | Go to friend |
|
||||
| ~SPC m B R~ | Refile entry |
|
||||
| ~SPC m B x~ | Delete entry |
|
||||
| ~SPC m B v~ | Visualize an org-brain entry |
|
||||
|
||||
*** Visualization bindings
|
||||
|
||||
|
@ -764,4 +780,3 @@ are available.
|
|||
| ~o~ | Open and edit the visualized entry |
|
||||
| ~f~ | Find/visit another entry to visualize |
|
||||
| ~r~ | Rename this, or another, entry |
|
||||
| | |
|
||||
|
|
|
@ -552,8 +552,23 @@ Headline^^ Visit entry^^ Filter^^ Da
|
|||
:defer t
|
||||
:init
|
||||
(progn
|
||||
(spacemacs/declare-prefix "aoB" "org-brain")
|
||||
(spacemacs/set-leader-keys
|
||||
"aob" 'org-brain-visualize)
|
||||
"aoBv" 'org-brain-visualize
|
||||
"aoBa" 'org-brain-agenda)
|
||||
(spacemacs/declare-prefix-for-mode 'org-mode "mB" "org-brain")
|
||||
(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
|
||||
"Bap" 'org-brain-add-parent
|
||||
"Baf" 'org-brain-add-fiendship
|
||||
"Bgc" 'org-brain-goto-child
|
||||
"Bgp" 'org-brain-goto-parent
|
||||
"Bgf" 'org-brain-goto-friend
|
||||
"BR" 'org-brain-refile
|
||||
"Bx" 'org-brain-delete-entry)
|
||||
(evil-set-initial-state 'org-brain-visualize-mode 'emacs))))
|
||||
|
||||
(defun org/init-org-expiry ()
|
||||
|
|
Loading…
Reference in New Issue