Bind space-doc-mode to `SPC m v` in Org

Provide a way to toggle space-doc-mode in any org file with a keybinding.
Useful for reading documents in the same mode as Spacemacs documentation is
opened in.
This commit is contained in:
nikolaiam 2017-01-08 14:12:06 +02:00 committed by syl20bnr
parent c657506331
commit 506edddc96
3 changed files with 5 additions and 0 deletions

View File

@ -309,6 +309,7 @@ To permanently enable mode line display of org clock, add this snippet to your
| ~SPC m C-S-j~ | org-shiftcontroldown |
| ~SPC m C-S-k~ | org-shiftcontrolup |
| ~SPC s j~ | spacemacs/jump-in-buffer (jump to a heading) |
| ~SPC v~ | space-doc-mode (toggle a read-only view mode)|
*** Tables

View File

@ -9,6 +9,9 @@
;;
;;; License: GPLv3
;; Autoload space-doc-mode
(autoload 'space-doc-mode "space-doc" nil 'interactive)
(defun org-projectile/capture (&optional arg)
(interactive "P")
(if arg

View File

@ -254,6 +254,7 @@ Will work on both org-mode and any mode that accepts plain html."
"q" 'org-clock-cancel
"R" 'org-refile
"s" 'org-schedule
"v" 'space-doc-mode
;; insertion of common elements
"ia" 'org-attach