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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user