1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 12:27:57 +01:00

add initial (very rough) implementation of :noremap

This commit is contained in:
Doug Kearns
2007-07-22 11:36:41 +00:00
parent ab05f48462
commit 6b87d71a7e
2 changed files with 61 additions and 1 deletions

View File

@@ -238,6 +238,12 @@ function Mappings() //{{{
return map;
}
// TODO: move default maps to their own v.normal namespace
this.getDefaultMap = function(mode, cmd)
{
return getMap(mode, cmd, main);
}
// returns an array of mappings with names which start with "cmd"
this.getCandidates = function(mode, cmd)
{