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

massive options.js cleanup. It is now only responsible for the options framework, but does not host

any option. They are now saved in the modules where the corresponding features are defined or in vim.js
if they are general options. Expect the same code rework for commands and mappings.
This commit is contained in:
Martin Stubenschrott
2008-02-07 03:03:27 +00:00
parent b3eb0000ab
commit 1556268fea
12 changed files with 428 additions and 465 deletions

View File

@@ -54,6 +54,18 @@ vimperator.Editor = function () //{{{
return ed.controllers.getControllerForCommand("cmd_beginLine");
}
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// OPTIONS /////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
//
vimperator.options.add(["editor"],
"Set the external text editor",
"string", "gvim -f");
vimperator.options.add(["insertmode", "im"],
"Use Insert mode as the default for text areas",
"boolean", true);
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{