From b0c2444466f46333868f4781ae0b6f5e6c25267c Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Tue, 27 Dec 2016 12:23:15 -0800 Subject: [PATCH] Change the message when entering insert mode while readonly --- src/input_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_handler.cc b/src/input_handler.cc index 19fd0efd..75491041 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1005,8 +1005,8 @@ public: if (context().has_client() and context().options()["readonly"].get()) - context().print_status({ "Entering insert mode while readonly", - get_face("Information") }); + context().print_status({ "Warning: This buffer is readonly", + get_face("Error") }); } ~Insert()