[vim/vim] How can I set something like `nowrite` for a prompt buffer? (Discussion #18911)

5 views
Skip to first unread message

Phạm Bình An

unread,
Dec 12, 2025, 2:16:41 AM (5 days ago) Dec 12
to vim/vim, Subscribed

I think the prompt buffer is a nice feature to implement a REPL, chat UI, etc. In most of these cases, I don't think people want to save the buffer to a file at all. But Vim still prompts users to to save to a file when they run :q, which is annoying for me. Is there a way I can disable that behavior?


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/18911@github.com>

Phạm Bình An

unread,
Dec 16, 2025, 7:58:26 PM (5 hours ago) Dec 16
to vim/vim, Subscribed

Closed #18911 as resolved.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/18911/discussion_event/2313341@github.com>

Reply all
Reply to author
Forward
0 new messages