Xebar Saram <zelt...@gmail.com> writes:

> PS. Also can anyone think of a way to get a visual cue when the file
> is in "view mode"?
>
> thx!
>
> Z
>
> On Thu, Jul 17, 2014 at 4:22 PM, Xebar Saram <zelt...@gmail.com> wrote:
>
>    
>     can you recommend a way to open all orgmode notes in view mode by
>     default, i guess i would then bind a key to disable view mode to
>     start editing right?
>    

Add a function that enables the minor mode to org-mode-hook (this is a
completely general emacs mechanism and worth understanding thoroughly):

           (add-hook 'org-mode-hook (lambda () (view-mode 1)))

As for visual cues, you get "View" added to the list of modes in the
mode-line.

Nick

     


Reply via email to