Ted Pavlic
ba948246cc
Fix ":abbr this'is'a'test" to return an error, like Vim.
...
Also note in map.txt that :abbr LHS cannot contain quotes or spaces.
2009-01-16 15:33:43 -05:00
Ted Pavlic
22d3bc470b
Change :abbr to parse its args.string itself.
2009-01-16 15:22:44 -05:00
Ted Pavlic
a2c0233fc0
After some investigation, it appears like Vim only outlaws quotes in :abbr.
...
TODO: Make
:abbr abcd\ efgh
work like Vim (i.e., map abcd\ to efgh). That's a bigger change to how
the command line is parsed.
2009-01-16 14:59:36 -05:00
Ted Pavlic
aca074f82b
Fix :abbr with no argument (in future, will be less push happy).
2009-01-16 14:25:56 -05:00
Ted Pavlic
704303c108
Moved :abbr LHS non-word match to outside RHS check. Want to check LHS always (like Vim).
2009-01-16 14:19:17 -05:00
Ted Pavlic
b758e2f729
Make sure LHS of :abbr is is all word characters. E474 otherwise (mimic Vim).
2009-01-16 14:02:04 -05:00
Ted Pavlic
1019daa5ca
Change (\S+) to (\w+) in abbreviation matching so that "VIMP<space> expands (to match Vim behavior).
2009-01-16 13:34:05 -05:00
Kris Maglione
bd881e062b
Small fixes for recent commits.
2009-01-15 15:44:21 -05:00
Doug Kearns
5fe2741dfc
Refactor editor.removeAllAbbreviations.
...
Add some rough source documentation for abbreviation related methods in
Editor.
2009-01-15 22:21:16 +11:00
Ted Pavlic
d29013a2fd
Three small changes (copyright, template.js copyright, and tildetidy target)
...
a.) Cleaned up copyright language to match conventions.
(I used the memoir document class documentation as a reference, but
these conventions are common throughout publishing)
* The (c) symbol has no legal meaning. Only the word "Copyright" and
an encircled lowercase c are appropriate. So the word "Copyright"
was placed before each (c).
* Each (C) was changed to (c).
* Kris uses the correct symbols in copyright notices, but those
symbols can be problematic in terminal-mode editors. Added the word
"Copyright" as well.
* Replaced colons/spaces after years with the word "by."
b.) Added a copyright notice to common/content/template.js. It was
missing one entirely. Please correct if it doesn't need one or if the
copyright isn't held by Martin.
c.) Also added a "tildetidy" target to Makefile common that includes a
version of the find line from the existing "clean" target (however,
this version uses "rm -fv" instead of "rm -f").
2009-01-12 09:14:54 -05:00
Ted Pavlic
147cdab5d2
Update copyrights for 2009.
2009-01-11 00:47:56 -05:00
Martin Stubenschrott
f09ad33e28
Fixed v exiting visual mode, thanks Xie&Tian
2009-01-06 14:00:27 +01:00
Doug Kearns
e91fbcd754
Add some source documentation for AutoCommands.
...
Also normalise the use of /* */ and // comments.
2009-01-02 00:56:58 +11:00
teramako
0653d64448
expand a path of editor option when open external editor
2009-01-01 22:01:39 +09:00
Doug Kearns
eeca611435
Add some more rough source documentation.
2009-01-01 22:01:56 +11:00
Doug Kearns
0f0d26d504
Normalise element related temporary variable names (elt -> elem).
2008-12-31 13:08:41 +11:00
Kris Maglione
74700d3aff
Document some more crap.
2008-12-19 13:27:01 -05:00
Doug Kearns
d60c81ef23
add missing semicolons
2008-12-19 23:00:14 +11:00
Kris Maglione
e86ae1d6da
Use io.withTempFiles in editFieldExternally
2008-12-17 21:22:52 -05:00
Kris Maglione
18d4f74b6e
Cc/Ci/Cr/Cu
2008-12-16 19:12:04 -05:00
Doug Kearns
64f00164cc
prefer let over var in Editor
2008-12-13 01:25:38 +11:00
Doug Kearns
e9c53d3776
add abbreviation completion
2008-12-13 01:25:35 +11:00
Doug Kearns
d182429dd3
allow for partial match filtering in :abbreviation list commands
2008-12-12 14:03:34 +11:00
Doug Kearns
8ad705334b
echo a msg, not an err, from :abbrev when there are no abbreviations
2008-12-12 14:03:29 +11:00
Doug Kearns
aec2c278c2
use argCount: "1" with :*unabbrev commands
2008-12-10 17:02:54 +11:00
Martin Stubenschrott
6bb74806d7
simplified selection controller usage
2008-12-08 13:54:21 +01:00
Daniel Bainton
729854c749
Rename liberator/ to common/
2008-12-04 07:56:35 +02:00