mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 00:28:00 +01:00
Fix things like ":map :", ":map +", but not things like ":map <Plus>". Ideas?
This commit is contained in:
@@ -84,7 +84,7 @@ Map.prototype = {
|
||||
* @param {string} name The name to query.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
hasName: function (name) this.names.indexOf(name) >= 0,
|
||||
hasName: function (name) this.names.indexOf(name) >= 0 || this.names.indexOf(name.replace(/<S-(.)>/g, "$1")) >= 0,
|
||||
|
||||
/**
|
||||
* Execute the action for this mapping.
|
||||
|
||||
Reference in New Issue
Block a user