Kris Maglione
3625aa1709
Use commandcomm /dev/null <(js -v 180 commands.js |& grep -v ReferenceError | grep .) in :mkv output
2008-10-30 04:03:58 +00:00
Kris Maglione
a53b702200
Generally niftier :mkv
2008-10-30 03:31:19 +00:00
Doug Kearns
9fc85871c8
fix typo in parseArgs#quoteArg
2008-10-19 08:01:09 +00:00
Doug Kearns
d14a32afa3
move array utility methods to util.Array
2008-10-19 07:26:17 +00:00
Doug Kearns
bec8d33e59
pass all command actions an args object - IMPORTANT: this will possibly break
...
your plugin, read the NEWS file
2008-10-17 11:39:25 +00:00
Doug Kearns
1394f483e4
declare some undeclared variables in parseOpt and whitespace fixes
2008-10-15 01:55:27 +00:00
Kris Maglione
ff7c3c1210
Add liberator.modules namespace, load scripts via subscript loader, report better errors on :so with here docs, beep when clicking an input field in command line mode.
2008-10-13 21:05:48 +00:00
Kris Maglione
cd0fb01dd4
with (liberator)
2008-10-13 00:50:03 +00:00
Kris Maglione
b84714bba6
Add a Struct() type for things like Bookmarks and Styles
2008-10-11 20:44:51 +00:00
Doug Kearns
fe970d315e
remove extraneous fold markers from commands.parseArgs
2008-10-11 01:32:44 +00:00
Kris Maglione
29cc805622
Dont quote numbers, as per the previous behavior.
2008-10-11 00:22:53 +00:00
Kris Maglione
ff79cbf748
Add commands.replaceTokens
2008-10-11 00:21:07 +00:00
Kris Maglione
a1c082dda7
Add "literal" option to addCommand, to treat all args after argCount as a literal string
2008-10-10 20:02:33 +00:00
Kris Maglione
56dde515a0
Add the beginings of completion support to parseArgs
2008-10-10 19:03:38 +00:00
Doug Kearns
16164154ba
add rough -nargs, -bang and -count support to :command
2008-10-10 13:52:08 +00:00
Doug Kearns
0c03963cf9
add count property to Command's extraInfo to specify whether the command
...
accepts a count/range
2008-10-06 10:42:06 +00:00
Doug Kearns
2ebb57fe93
rename Command's bangAllowed property to bang
2008-10-04 16:48:32 +00:00
Doug Kearns
6ef73cf313
whitespace fixes and revert some overly aggressive use of expression closures
2008-10-04 10:18:53 +00:00
Doug Kearns
156fa5d56f
add bangAllowed property to Command's extraInfo to specify whether the bang
...
version of the command is available
2008-10-04 09:00:36 +00:00
Kris Maglione
1891746b9e
Bunch-o-fixes, plus some non-trivial changes that I may wind up weeding out.
2008-10-04 04:08:03 +00:00
Doug Kearns
3ceecbaf52
use \S rather than a negated \s character set in patterns
2008-10-04 03:14:04 +00:00
Kris Maglione
40ff96452e
Make some stuff nicer. Add heredoc support to :sty
2008-10-04 00:00:25 +00:00
Kris Maglione
1bb07747c4
Add :style and :delstyle commands. Need to write NEWS and :help entries, I suppose
2008-10-03 23:14:30 +00:00
Kris Maglione
76b6c530b1
Frob some fnords.
2008-10-02 06:42:42 +00:00
Kris Maglione
1cf325a539
Refactor HTML generation to use E4X. Could use some refactoring.
2008-09-30 23:37:33 +00:00
Doug Kearns
ce3cc55944
make sure all calls to command actions use sensible defaults
2008-09-29 09:40:52 +00:00
Doug Kearns
c076c8be0f
fix some arg redeclarations
2008-09-28 12:51:53 +00:00
Doug Kearns
851d8d8383
use 'lambda' notation where appropriate
2008-09-23 10:06:04 +00:00
Doug Kearns
0d35d7c67d
whitespace fixes
2008-09-21 11:12:32 +00:00
Doug Kearns
e64a7397df
use let when declaring loop variables
2008-09-18 12:07:10 +00:00
Doug Kearns
0d2e00eb6b
use the hl-Title class for the completion widget title
2008-09-16 16:09:14 +00:00
Doug Kearns
a0cbde84b1
remove redundant throwing of StopIteration from generators
2008-09-15 14:52:21 +00:00
Doug Kearns
f12f956e41
add liberator.dump() to prefix dump() messages with our extension name
2008-09-08 04:41:23 +00:00
Doug Kearns
f9a6d40697
add rudimentary <q-args> support to :command
2008-08-27 10:03:25 +00:00
Doug Kearns
b08d4630e5
whitespace fixes
2008-08-21 05:15:24 +00:00
Doug Kearns
ace880a5fb
add completion to :command and :delcommand
2008-08-21 03:48:51 +00:00
Doug Kearns
bc55e0849f
add general placeholder text for the replacement text of programmatically added
...
user commands in :command output
2008-08-21 00:18:25 +00:00
Doug Kearns
a234aa747e
make use of our argsParser to handle commands with zero arguments
2008-08-14 08:24:02 +00:00
Martin Stubenschrott
1035a01ace
make use of our argsParser to handle commands with a fixed number of arguments.
...
Also added args.string to access the original string before it was parsed.
TODO: Always pass a parseArgs-like structure to commands, instead of only
when options or argCount is specified?
2008-08-13 21:53:56 +00:00
Doug Kearns
66ff19d7af
trivial formatting improvements
2008-08-12 16:16:24 +00:00
Doug Kearns
316bad4587
display the user command's definition in the list output of :command
2008-08-08 10:03:04 +00:00
Doug Kearns
03d030db9e
change :command to behave like Vim's and add :comclear and :delcommand
2008-08-08 06:45:14 +00:00
Doug Kearns
134bd01b20
add missing semicolon
2008-08-05 06:32:29 +00:00
Doug Kearns
f686b00040
minor formatting fixes
2008-07-26 17:03:04 +00:00
Martin Stubenschrott
182a78ef07
use parseArgs for 'editor' option
2008-07-09 21:03:11 +00:00
Martin Stubenschrott
6d8b16608f
added 2 scripts, and :%foo support
2008-06-30 12:50:15 +00:00
Martin Stubenschrott
2a3a5277bf
better args parser, plugin writers maybe need to change there
...
liberator.commands.add() slightly if they used args: as an extraInfo
2008-06-17 00:31:37 +00:00
Martin Stubenschrott
29a387f870
changed module loading and moved it to {vimperator,muttator}.js for
...
optional modules
2008-06-12 00:51:26 +00:00
Doug Kearns
45390dac8b
add missing semicolons
2008-06-09 03:29:29 +00:00
Doug Kearns
d3552663d2
missing semicolon
2008-06-06 13:48:10 +00:00