Updated Readme for information about the @Org Perspective.
This commit is contained in:
parent
1935d1dd69
commit
8e41c1146a
1 changed files with 11 additions and 2 deletions
|
@ -5,7 +5,9 @@ perspectives with a macro so that you don't have to do more steps.
|
||||||
|
|
||||||
## Custom Perspective Macro
|
## Custom Perspective Macro
|
||||||
|
|
||||||
If you want to add a new custom-persp (for example if you want to have IRC on its own perspective or maybe calendar or gnus) you have to use the macro `custom-persp` as follows:
|
If you want to add a new custom-persp (for example if you want to have
|
||||||
|
IRC on its own perspective or maybe calendar or gnus) you have to use
|
||||||
|
the macro `custom-persp` as follows:
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(defun custom-persp/<persp-function-name> ()
|
(defun custom-persp/<persp-function-name> ()
|
||||||
|
@ -20,9 +22,16 @@ Then you just need to add a keybinding to your custom persp, we use
|
||||||
``` elisp
|
``` elisp
|
||||||
(evil-leader/set-key "Po<your key here>" 'custom-persp/<persp-function-name>))
|
(evil-leader/set-key "Po<your key here>" 'custom-persp/<persp-function-name>))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### org-agenda `<SPC> P o o` (Perspective Open Org)
|
||||||
|
|
||||||
|
Here we define a custom perspective that adds items to your org-agenda if you do not know what that is check the [docs](https://www.gnu.org/software/emacs/manual/html_node/org/Agenda-commands.html). The cool part is that you can have many org files with todos in the agenda and with one simple command you can gather all the todos from all the agenda files you have and show them in a single buffer. (in evil the command starts with `; a`)
|
||||||
|
|
||||||
## Keybindings
|
## Keybindings
|
||||||
|
|
||||||
Perspective-mode defines keybindings under `C-x x` so we will take a more `spacemacsy` approach and define them under out perspective map `<SPC> P`
|
Perspective-mode defines keybindings under `C-x x` so we will take a
|
||||||
|
more `spacemacsy` approach and define them under out perspective map
|
||||||
|
`<SPC> P`
|
||||||
|
|
||||||
|
|
||||||
## Persp-Projectile
|
## Persp-Projectile
|
||||||
|
|
Reference in a new issue