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

move getMapLeader() to liberator.Mappings

This commit is contained in:
Doug Kearns
2008-09-11 16:39:29 +00:00
parent eda172d8c2
commit fefa6e4609
4 changed files with 12 additions and 12 deletions

View File

@@ -242,8 +242,8 @@ liberator.IO = function () //{{{
for (var abbrCmd in liberator.editor.abbreviations)
line += abbrCmd;
// if (liberator.events.getMapLeader() != "\\")
// line += "\nlet mapleader = \"" + liberator.events.getMapLeader() + "\"\n";
// if (liberator.mappings.getMapLeader() != "\\")
// line += "\nlet mapleader = \"" + liberator.mappings.getMapLeader() + "\"\n";
// source a user .vimperatorrc file
line += "\nsource! " + filename + ".local\n";
@@ -458,7 +458,7 @@ liberator.IO = function () //{{{
var file = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
var tmpname = liberator.config.name.toLowerCase() + "-" +
var tmpname = liberator.config.name.toLowerCase() + "-" +
window.content.document.location.hostname + ".tmp";
if (liberator.config.name == "Muttator")
tmpname = "mutt-ator-mail"; // to allow vim to :set ft=mail automatically