From 23098fc5ebb8267f33d648084193c8f747160b62 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Thu, 3 Jan 2008 19:29:36 +0000 Subject: [PATCH] don't save :autocmd on :mkvimperatorrc --- content/commands.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/commands.js b/content/commands.js index fe1c09d6..81067006 100644 --- a/content/commands.js +++ b/content/commands.js @@ -1557,9 +1557,10 @@ vimperator.Commands = function () //{{{ } } - line += "\n\" Auto-Commands\n"; - for (var item in vimperator.autocommands) - line += "autocmd " + item + "\n"; + // :mkvimrc doesn't save autocommands, so we don't either - remove this code at some point + // line += "\n\" Auto-Commands\n"; + // for (var item in vimperator.autocommands) + // line += "autocmd " + item + "\n"; line += "\n\" Abbreviations\n"; for (var abbrCmd in vimperator.editor.abbreviations)