* Doug: Might ui.js:701: elements[elements.length - 1].scrollIntoView(true);
be the problem of your very slow MOW for multiple items? I just
noticed that :echo liberator takes 0.25sec , but :echo liberator
when the MOW already displas :echo window takes 0.47 sec
See http://vimperator.org/trac/ticket/126
Using...
function (args)
{
let args = args.string;
...
was causing Firefox to complain that args was undefined. Changing the
"let" to "var" or changing the names of the variables (e.g., changing
"function (args)" to "function (arg)") fixes the problem. IMO, this
appears to be a bug in Firefox.
The short fix would be to change the formal argument from "args" to
"arg." However, that would make delmarks' implementation different from
all the rest. So changed "let args" to "let argstring" and adjusted
throughout the function.
* The stdin - wasn't needed. However, an ||true is now used to prevent
Makefile from erroring out (I'm sure there's a better way).
* muttatorrc was spelled muttatororrc; fixed now.
* The vimperator.vba was not included although muttator.vba was.
* Adjusted Makefiles so that vim is called with "-" to open stdin (that
was required on my Vim7.2 system; does it break others?)
This also adds a quick 'n' dirty build mechanism for creating the
Vimballs. Unfortunately, these aren't particularly amenable to being
created in a batch process. Dr Chip has created a small C program for
this but that would be a silly dependency.
Files like vimperator.vim, javascript.vim, and vimperatorrc.example
might fit better in a "contrib" directory. It's not clear whether there
should be vimperator/contrib and muttator/contrib directories or a
single liberator/contrib directory.
The Makefile.common doesn't include these files in the bundle, and so it
doesn't seem like a bad idea to package them in a single
liberator/contrib directory with a CONTENTS or README file giving a ToC
for the directory.
* Require language part of locale to be two lowercase letters.
* Update Makefile.doc comment -- add "include" comment.
* Get rid of muttator/locale/en-US/Makefile symlink in favor of include.
* Delete the desctiption of nonexistent command :highlight-clear.
* Delete the erroneous info about bang of :highlight command.
* Add unwritten group names from styling.js.
Signed-off-by: Kris Maglione <maglione.k@gmail.com>
This commit is in the spirit of
a3fc60c011b8ed42c2efec2147b1268abc10d578.
Vim's help format really numbers everything manually? Sections too?
That's unbelievable.
Also added rough documentation for insert mode.
TODO: Abbreviations should also expand on <CR> and <Tab>, but right now
adding <CR> to the mappings.add() has no effect, and adding <Tab> to the
mappings.add() breaks tab completion.
TODO: Rather than listing non-keyword characters in two places (ui.js
and mappings.js), they should be specified in one location (that could
someday be trumped by an 'iskeyword' option).