From 8af3b52bfa1af04606b7422ee3f362ba1728e404 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 19 Aug 2015 21:16:53 +0100 Subject: [PATCH] Add alternative names to ^ (caret) and @ (arobase) registers --- src/register_manager.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/register_manager.cc b/src/register_manager.cc index 7c174731..502cb59d 100644 --- a/src/register_manager.cc +++ b/src/register_manager.cc @@ -64,7 +64,9 @@ Register& RegisterManager::operator[](StringView reg) static const IdMap reg_names = { { "slash", '/' }, { "dquote", '"' }, - { "pipe", '|' } + { "pipe", '|' }, + { "caret", '^' }, + { "arobase", '@' } }; auto it = reg_names.find(reg); if (it == reg_names.end())