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
Doug Kearns
13d0eeaa1e
fix :command so that it respects the special version and doesn't always output
...
the "command already exists" error message
2008-05-27 16:53:38 +00:00
Doug Kearns
c1390135d2
whitespace fixes
2008-05-27 15:15:36 +00:00
Martin Stubenschrott
618c47bc46
big vimperator->liberator rename, expect some brakeage
2008-03-18 15:18:55 +00:00
Martin Stubenschrott
48a79ca3cf
sort :commands for tab-completion
2008-03-01 00:27:10 +00:00
Martin Stubenschrott
aa3934cf2d
fixed system() and other io methods
2008-02-29 23:47:27 +00:00
Martin Stubenschrott
57debc00e0
* renamed shortHelp -> decription
...
* refactored abbreviation and mapping commands (actually 200 LOC less now :)
2008-02-29 14:46:33 +00:00
Martin Stubenschrott
8184b1109f
moved more commands. the end of all the moving is near!
2008-02-28 23:55:02 +00:00
Martin Stubenschrott
8c45097170
made :dialogs generic, moved more commands to vim.js
2008-02-28 23:37:35 +00:00
Martin Stubenschrott
09eb8e5939
begin moving commands from commands.js to where they belong
2008-02-25 15:22:12 +00:00