Hi,

You can clear the 'modifiable' option to disable unintended
modifications to a buffer.

   setlocal nomodifiable

Is is possible to prevent, for example, the project plugin from opening
another file (other than the current) in a window? The nomodifiable
option only applies to the buffer. The window should be locked to the
buffer instead.

Regards,
Brecht

Reply via email to