mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 16:34:14 +01:00
allow lowercase modifier chars in the {lhs} arg of :map and related commands
This commit is contained in:
@@ -216,6 +216,8 @@ vimperator.Mappings = function() //{{{
|
||||
{
|
||||
for (var i = 0; i < map.names.length; i++)
|
||||
{
|
||||
// only store keysyms with uppercase modifier strings
|
||||
map.names[i] = map.names[i].replace(/([casm]-)/g, function($0, $1) { return $1.toUpperCase(); })
|
||||
for (var j = 0; j < map.modes.length; j++)
|
||||
removeMap(map.modes[j], map.names[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user