Add alternative names to ^ (caret) and @ (arobase) registers
This commit is contained in:
parent
409931c99e
commit
8af3b52bfa
|
@ -64,7 +64,9 @@ Register& RegisterManager::operator[](StringView reg)
|
||||||
static const IdMap<Codepoint> reg_names = {
|
static const IdMap<Codepoint> reg_names = {
|
||||||
{ "slash", '/' },
|
{ "slash", '/' },
|
||||||
{ "dquote", '"' },
|
{ "dquote", '"' },
|
||||||
{ "pipe", '|' }
|
{ "pipe", '|' },
|
||||||
|
{ "caret", '^' },
|
||||||
|
{ "arobase", '@' }
|
||||||
};
|
};
|
||||||
auto it = reg_names.find(reg);
|
auto it = reg_names.find(reg);
|
||||||
if (it == reg_names.end())
|
if (it == reg_names.end())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user