org: add some multi-purpose keybindings

This commit is contained in:
Eivind Fonn 2015-11-05 17:33:46 +01:00
parent 826d6b700b
commit 5e05b79432
2 changed files with 34 additions and 22 deletions

View file

@ -99,7 +99,13 @@ You can tweak the bullets displayed in the org buffer in the function
| Key Binding | Description |
|----------------------------------------------+----------------------------------------------|
| ~SPC m <dotspacemacs-major-mode-leader-key>~ | org-ctrl-c-ctrl-c |
| ~SPC m *~ | org-ctrl-c-star |
| ~SPC m RET~ | org-ctrl-c-ret |
| ~SPC m -~ | org-ctrl-c-minus |
| ~SPC m '~ | org-edit-special |
| ~SPC m ^~ | org-sort |
| ~SPC m /~ | org-sparse-tree |
| ~SPC m .~ | org-time-stamp |
| ~SPC m a~ | org-agenda |
| ~SPC m b~ | org-tree-to-indirect-buffer |
@ -113,7 +119,6 @@ You can tweak the bullets displayed in the org buffer in the function
| ~SPC m l~ | org-open-at-point |
| ~SPC m n~ | org-narrow-to-subtree |
| ~SPC m N~ | widen |
| ~SPC m <dotspacemacs-major-mode-leader-key>~ | org-ctrl-c-ctrl-c |
| ~SPC m O~ | org-clock-out |
| ~SPC m q~ | org-clock-cancel |
| ~SPC m R~ | org-refile |

View file

@ -165,10 +165,17 @@ Will work on both org-mode and any mode that accepts plain html."
"mtto" 'org-table-toggle-coordinate-overlays
"mtw" 'org-table-wrap-region
"mI" 'org-clock-in
;; Multi-purpose keys
(if dotspacemacs-major-mode-leader-key
(concat "m" dotspacemacs-major-mode-leader-key)
"m,") 'org-ctrl-c-ctrl-c
"m*" 'org-ctrl-c-star
"m RET" 'org-ctrl-c-ret
"m-" 'org-ctrl-c-minus
"m^" 'org-sort
"m/" 'org-sparse-tree
"mI" 'org-clock-in
"mn" 'org-narrow-to-subtree
"mN" 'widen
"mO" 'org-clock-out