Commit Graph

190 Commits

Author SHA1 Message Date
Reed Esau
a5dbd88f30 Merge pull request #53 from ExMember/pandoc-support
Add vim-pandoc support
2017-01-11 18:03:34 -07:00
Damien Burke
9ad784bc23 Add vim-pandoc support
Do not autoformat code, HTML, LaTeX math blocks, lists, tables or
YAML in pandoc documents.
2017-01-02 22:37:32 -08:00
Reed Esau
fd75347422 mkdNonListItemBlock shouldn't be blacklisted 2016-10-05 23:29:52 -06:00
Reed Esau
f113c8c929 Blacklist updates for plasticboy markdown syntax 2016-10-02 23:40:51 -06:00
Reed Esau
3e8b6f3417 Various minor fixes to documentation 2016-09-02 11:10:08 -06:00
Reed Esau
670c62c39e Various improvements to initialization
Added example of initializing by function.
2016-09-01 10:56:48 -06:00
Reed Esau
99e2499500 Improve wording and formatting. 2016-08-18 14:10:42 -06:00
Reed Esau
f5f456ccdc New optional key mapping to suspend autoformat #48
When using hard line break mode, autoformat is enabled by default.

Blacklisting is the existing mechanism to suspend autoformat for code blocks. You can now optionally map a buffer-scoped 'modifier' key to suspend autoformat for the Insert.

Also simplified README by moving things to the advanced section.
v1.4
2016-08-17 11:32:38 -06:00
Reed Esau
cc63b20e03 Added mention of new danielbmarques/vim-ditto plugin 2016-07-30 19:05:18 -06:00
Reed Esau
f1df0f3030 Merge branch 'master' of https://github.com/reedes/vim-pencil 2016-07-30 18:57:12 -06:00
Reed Esau
735cc3b24e Additional tips on formatting paragraphs 2016-07-30 18:56:58 -06:00
Reed Esau
a4ad656d68 Removed <buffer> from manual autoformat mapping examples 2016-07-11 18:42:41 -06:00
Reed Esau
ad18a74cf0 Blacklisting texStatement, per #43 v1.3 2016-06-29 20:09:26 -06:00
Reed Esau
470f9ca44c ongoing 2016-06-13 17:08:16 -06:00
Reed Esau
f9cbfca887 ongoing 2016-06-11 15:13:24 -06:00
Reed Esau
01a3a95c72 Merge branch 'master' of https://github.com/reedes/vim-pencil 2016-06-10 21:26:31 -06:00
Reed Esau
08ee355694 map <cr> only if not already mapped 2016-06-10 21:26:23 -06:00
Reed Esau
2f62713ed9 Merge pull request #44 from noqqe/master
Compatibility changes for vim 7.2 in colorcolumn
2016-06-10 21:22:14 -06:00
Florian Baumann
5e6ba37a94 Compatibility changes for vim 7.2 in colorcolumn 2016-06-09 12:17:46 +02:00
Reed Esau
ebbfc350b8 Disable legacy commands by default, as per schedule 2016-01-03 13:27:13 -07:00
Reed Esau
b36e21556d More improvements to blogger/developer mentions 2015-09-17 13:24:04 -06:00
Reed Esau
4e82b996e4 Added another blogger mention of pencil 2015-09-16 12:46:12 -06:00
Reed Esau
6b6c2f08bf Added blogger mentions of pencil 2015-09-14 13:59:01 -06:00
Reed Esau
dd8321a2d5 Additional changes for #33, file type specific autoformat config v1.2 2015-09-07 12:18:19 -06:00
Reed Esau
f89a3ac998 Blacklist (and whitelist) config by file type 2015-09-07 00:26:37 -06:00
Reed Esau
290b0872d0 Added 'auto' mode indicator to fix #18
An indicator to show that Vim's autoformat is activated while in HardPencil mode.
2015-09-07 00:19:42 -06:00
Reed Esau
632ae63c2c Removed MarkdownOrderedListMarker from default blacklist
Numbered whole paragraphs makes for a strong use case to keep Vim's autoformat enabled.
2015-09-05 12:46:25 -06:00
Reed Esau
5f819bfec0 Sentence rewording 2015-05-06 02:01:56 -06:00
Reed Esau
45f4c46cfe Better behavior for #31, autoformat lists in Markdown
For tpope's markdown syntax, restored standard autoformat behavior for unordered lists, which is generally pretty good.

Ordered lists had annoying behavior for autoformat, so simply disabling autoformat if detected when insert is entered. This isn't ideal, but it's not clear what else can be done now.

Fixed bug for PFormatToggle, where it wasn't properly disabling Vim's autoformat.

Provided help in README for mapping key to toggle autoformat.
v1.1
2015-05-06 00:56:49 -06:00
Reed Esau
536311e98c Blacklist markdownListMarker #31
To make it easier to add new items to a list in HardPencil mode
2015-04-24 00:17:48 -06:00
Reed Esau
c465e30c19 Improve autoformat support for asciidoc #28
For all document types, autoformat blacklisting now sneaks a look a the start of the previous line, to allow for non-heading text to immediately follow, without autoformat being engaged in a way that will cause the heading to be captured in the auto formatted text.
2015-03-15 16:04:30 -06:00
Reed Esau
320c7fc284 Reprieve for original HardPencil and SoftPencil commands
PencilHard and PencilSoft benefited from autocomplete when you didn't know the commands, but they are awkward when you do know the commands.

So, there's PencilHard and HardPencil.
PencilSoft and SoftPencil
PencilToggle and TogglePencil
PencilOff and NoPencil

Additional blacklist adjustment for the plasticboy plugin, though I'll be doing more work in the coming weeks to get things tuned better.
2015-01-30 13:57:35 -07:00
Reed Esau
02283c81e6 Addl blacklist to better support plasticboy/markdown 2015-01-29 00:36:44 -07:00
Reed Esau
96546d4b17 minor rewording and formatting 2015-01-28 23:36:58 -07:00
Reed Esau
91dc000fb1 Minor rewording on enabling Vim's autoformat v1.0 2015-01-14 14:04:05 -07:00
Reed Esau
72d0a6d5f7 Additional tweaks for #25
Further improvements to README as well.
2015-01-10 12:58:15 -07:00
Reed Esau
ad195ab208 Added rough asciidoc support, per #25
See the ticket for current limitations.

Also improved README.
2015-01-10 01:48:07 -07:00
Reed Esau
b60e5ba728 Merge branch 'master' of https://github.com/reedes/vim-pencil 2014-11-12 14:35:42 -07:00
Reed Esau
9ec2c3cbea Break out of whitelist loop; reword install docs 2014-11-12 14:35:27 -07:00
Reed Esau
9897c951ab Reconsidered colon for iskeyword 2014-11-12 06:42:15 -07:00
Reed Esau
f1603b5fa4 Merge branch 'master' of https://github.com/reedes/vim-pencil 2014-11-11 18:14:36 -07:00
Reed Esau
8e8aeb7451 Minor changes to iskeyword and indent settings 2014-11-11 18:14:11 -07:00
Reed Esau
626d3c0f7c Fixed filetype on fenced code block 2014-11-10 14:39:28 -07:00
Reed Esau
6357ed94dc Add saving of .vimrc to the install instructions 2014-11-07 01:12:51 -07:00
Reed Esau
5b1737f04e Fix for missing footnote 2014-11-07 01:09:47 -07:00
Reed Esau
aebb45f187 Fix for missing footnote 2014-11-07 01:09:04 -07:00
Reed Esau
739b4d476e Add better installation instructions 2014-11-06 04:01:14 -07:00
Reed Esau
3f111ca3f8 Add better installation instructions 2014-11-06 04:00:17 -07:00
Reed Esau
4d0a377928 more blacklist additions for #22
A couple of other blacklist changes for plasticboy/vim-markdown to match those added for tpope/vim-markdown
2014-11-05 05:34:29 -07:00
Reed Esau
e661e83bea Fixes for #19 and #22
#19 Reorganized commands, making them prefix-oriented. (e.g., old: HardPencil, new: PencilHard). Legacy commands still enabled by default.

#22 Better support of inline syntax for PencilHard mode
2014-11-05 05:05:23 -07:00