Display the register we yanked to

This commit is contained in:
Maxime Coste 2014-12-11 19:36:41 +00:00
parent 2c4ed3a78c
commit c68c9abcac

View File

@ -438,7 +438,8 @@ void yank(Context& context, NormalParams params)
{ {
RegisterManager::instance()[params.reg] = context.selections_content(); RegisterManager::instance()[params.reg] = context.selections_content();
context.print_status({ "yanked " + to_string(context.selections().size()) + context.print_status({ "yanked " + to_string(context.selections().size()) +
" selections", get_face("Information") }); " selections to register " + StringView{params.reg},
get_face("Information") });
} }
void erase_selections(Context& context, NormalParams params) void erase_selections(Context& context, NormalParams params)