alphapapa / org-sidebar

A helpful sidebar for Org mode
GNU General Public License v3.0
527 stars 16 forks source link

Option to make the window read-only #52

Open ismaell opened 3 years ago

ismaell commented 3 years ago

It would be useful, specially for the sidebar-tree, to be read-only, to prevent accidental modifications.

alphapapa commented 3 years ago

Why? The sidebar-tree buffer is just an indirect buffer, so it may be modified freely, and changes in it are reflected in the source buffer.

ismaell commented 3 years ago

I would like to use it just as an index.

alphapapa commented 3 years ago

You could easily define advice in your Emacs config to enable read-only-mode in that buffer.