1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 17:44:10 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Štěpán Němec
32be6b7469 A few docs clarifications.
-- shifted mappings notation (<C-n> vs <C-N>)
-- adjusted the ':!' warning
-- other minor fixes
2009-05-09 16:31:50 +10:00
Daniel Bainton
702f8f9a3e Doc fixes (thanks Xie&Tian) 2009-03-26 09:34:10 +02:00
Doug Kearns
c14f5eed2b Fix typo in :cabbrev help. 2009-03-04 20:42:34 +11:00
Doug Kearns
033aab5e5a Trivial help formatting improvements. 2009-03-04 20:28:55 +11:00
Doug Kearns
faa928f957 Add stepnem to AUTHORS and whitespace fixes in help. 2009-02-19 12:53:03 +11:00
Štěpán Němec
926355a7ec A number of minor fixes in help files.
Mostly typos/omissions/markup errors, more remarkable e. g. changing
'b' to 'B' in tutorial reflecting a change from 1.2.
Also uncommented [macros] section in asciidoc.conf (is that right?).

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
2009-02-19 12:13:59 +11:00
Ted Pavlic
8b95e72115 Minor copyedits. 2009-01-20 11:54:46 -05:00
Ted Pavlic
4e203e0840 Removed implicit numbering in map.txt; made numbering explicit.
This commit is in the spirit of
a3fc60c011b8ed42c2efec2147b1268abc10d578.

Vim's help format really numbers everything manually? Sections too?
That's unbelievable.
2009-01-20 10:49:42 -05:00
Ted Pavlic
9993f0594e Make abbreviations expand on quotes as well as space.
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).
2009-01-20 10:45:48 -05:00
Doug Kearns
16b9b98a45 Remove setting of 'syntax' in Asciidoc file modelines.
Setting 'filetype' makes this redundant.
2009-01-19 00:45:58 +11:00
Ted Pavlic
db872c5e65 Added "filetype=asciidoc" to help file modlines.
At the moment, only "syntax=asciidoc" was specified. The
asciidoc_filetype.vim that is distributed with Asciidoc gives the
installer two options -- to either associate every *.txt file with
asciidoc or to try to decipher whether or not the file is an asciidoc
using the first 50 lines.

So it's not given that a developer will open the *.txt files with
ft=asciidoc, and so it's helpful to have it explicitly in the modeline.
2009-01-17 13:02:41 -05:00
Ted Pavlic
f618833c18 More "command-line edits" in prompts.
Again, by Chicago Manual of Style (CMOS) and several other style guides, we
hyphenate compound /modifiers/ when they come /before/ the word being
modified.

So the "command line" is not hyphenated, but the "command-line mode" is. 

This is consistent with Vim help style conventions as well.
2009-01-17 12:46:10 -05:00
Ted Pavlic
21c4f0f89e Setup abbreviation behavior to be like an isk-less Vim.
For now, the internal equivalent of "iskeyword" is [^\s'"].

In the future, the internal "iskeyword" equivalent can be expanded. It may
be overboard to add an "iskeyword" option, as it applies to lots more
things than :abbr. Additionally, it's not clear why it's bad to call
keyword characters everything except whitespace and quotes.

TODO: Should abbreviations be triggered by any non-keyword character?

TODO: Should abbreviations be triggered by <CR>?

TODO: Should abbreviations be able to include <Left>, etc.?
2009-01-17 00:39:01 -05:00
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
Doug Kearns
01b7a39a5b Whitespace fixes. 2009-01-12 15:32:52 +11:00
Doug Kearns
723dd9cbca Fix user command completer listing in :command output. 2009-01-12 15:32:51 +11:00
Doug Kearns
41f7bc12be Fix missing help pages resulting from non-well-formed markup.
Most of the special case asciidoc replacements were also removed since
they're a bit confusing and doing so results in a 60% improvement in the
time taken by asciidoc to process the help pages.  Unfortunately, I'm
now limited to preparing a three course menu for my guests while it runs
rather than the degustation extravaganzas of the past but such is life.

It's still a bit of a mess but since we're almost certainly moving to
something else in the near future it's probably not worth cleaning it up
before 2.0 is released.
2008-12-29 22:52:04 +11:00
Doug Kearns
16c49fe786 fix some help typos 2008-12-20 11:24:11 +11:00
Doug Kearns
58514ffd4f delay user-command custom completer evaluation until call time 2008-12-17 17:46:39 +11:00
Kris Maglione
df33e3e7c7 Update (sort-of) the :com -complete docs. 2008-12-16 22:19:46 -05:00
Doug Kearns
05ac5cce49 minor rewording of :abbreviate help 2008-12-13 01:25:32 +11:00
Doug Kearns
d182429dd3 allow for partial match filtering in :abbreviation list commands 2008-12-12 14:03:34 +11:00
Kris Maglione
1c153aa978 New directory layout. 2008-12-02 13:42:44 -05:00