Replies: 1 comment
-
I believe that while this can come in handy for extra peace of mind, this feature, or rather the implementation of it, can tie in nicely with other use cases, such as marking certain buffers as read-only, as suggested in #5105. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After having migrated to Zed as a daily driver, one feature I'm missing from BBEdit is the ability to 'lock' a document ... that is, having it open, but as view/read-only. This is also an inherent behavior of Vi with normal vs insert mode; it's not called 'locking' per se, but it is equivalent to files opening in a 'locked' state.
With many files open at once, I'm usually only editing one or two, the rest are for reference only; so the lock gives peace of mind that no changes are made by accident.
If this were supported, one way to accommodate it in the UI is to have a lock/unlock icon next to the buffer search magnifying glass (since it is a buffer feature), along with a setting like "buffer_locking": { "button": false, "lock_on_open": false }
Is such a lock feature widely appealing? Or is it only comforting for those paranoid few?
Mockup of how it might look...
Screenshot of the BBEdit lock...
Beta Was this translation helpful? Give feedback.
All reactions