Display selections count in insert mode the same it's displayed in normal mode
This commit is contained in:
parent
76f072a786
commit
c7c8c14561
|
@ -1256,8 +1256,10 @@ public:
|
|||
DisplayLine mode_line() const override
|
||||
{
|
||||
auto num_sel = context().selections().size();
|
||||
auto main_index = context().selections().main_index();
|
||||
return {AtomList{ { "insert", get_face("StatusLineMode") },
|
||||
{ format( "{} sel", num_sel), get_face("StatusLineInfo") } }};
|
||||
{ " ", get_face("StatusLine") },
|
||||
{ format( "{} sels ({})", num_sel, main_index + 1), get_face("StatusLineInfo") } }};
|
||||
}
|
||||
|
||||
KeymapMode keymap_mode() const override { return KeymapMode::Insert; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user