From c68c9abcacc3c9ac863131b984251aa706aa4865 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 11 Dec 2014 19:36:41 +0000 Subject: [PATCH] Display the register we yanked to --- src/normal.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/normal.cc b/src/normal.cc index f19f88ec..6f2c95b1 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -438,7 +438,8 @@ void yank(Context& context, NormalParams params) { RegisterManager::instance()[params.reg] = context.selections_content(); 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)