diff --git a/src/input_handler.cc b/src/input_handler.cc index 71a5d63f..f1a77157 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -883,7 +883,9 @@ public: DisplayLine mode_line() const override { - return { "insert", Face(Colors::Green) }; + auto num_sel = context().selections().size(); + return {AtomList{ { "insert ", Face(Colors::Green) }, + { to_string(num_sel) + " sel", Face(Colors::Blue) } }}; } KeymapMode keymap_mode() const override { return KeymapMode::Insert; }