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

don't save :autocmd on :mkvimperatorrc

This commit is contained in:
Martin Stubenschrott
2008-01-03 19:29:36 +00:00
parent dceb8e381e
commit 23098fc5eb

View File

@@ -1557,9 +1557,10 @@ vimperator.Commands = function () //{{{
} }
} }
line += "\n\" Auto-Commands\n"; // :mkvimrc doesn't save autocommands, so we don't either - remove this code at some point
for (var item in vimperator.autocommands) // line += "\n\" Auto-Commands\n";
line += "autocmd " + item + "\n"; // for (var item in vimperator.autocommands)
// line += "autocmd " + item + "\n";
line += "\n\" Abbreviations\n"; line += "\n\" Abbreviations\n";
for (var abbrCmd in vimperator.editor.abbreviations) for (var abbrCmd in vimperator.editor.abbreviations)