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

<leader> toggles the escape-numbers mode in hints

This commit is contained in:
Marco Candrian
2007-12-04 03:52:12 +00:00
parent b66b8f189a
commit 03bb308ec7
4 changed files with 14 additions and 9 deletions

View File

@@ -425,6 +425,12 @@ vimperator.Events = function () //{{{
return (key == "<Esc>" || key == "<C-[>" || key == "<C-c>");
},
getMapLeader: function ()
{
var leaderRef = vimperator.variableReference("mapleader");
return leaderRef[0] ? leaderRef[0][leaderRef[1]] : "\\";
},
// argument "event" is delibarately not used, as i don't seem to have
// access to the real focus target
//