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 = {
|
||||
{ "slash", '/' },
|
||||
{ "dquote", '"' },
|
||||
{ "pipe", '|' }
|
||||
{ "pipe", '|' },
|
||||
{ "caret", '^' },
|
||||
{ "arobase", '@' }
|
||||
};
|
||||
auto it = reg_names.find(reg);
|
||||
if (it == reg_names.end())
|
||||
|
|
Loading…
Reference in New Issue
Block a user