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
Florian Baumann
5e6ba37a94
Compatibility changes for vim 7.2 in colorcolumn
2016-06-09 12:17:46 +02:00
Reed Esau
dd8321a2d5
Additional changes for #33 , file type specific autoformat config
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
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.
2015-05-06 00:56:49 -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
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
8e8aeb7451
Minor changes to iskeyword and indent settings
2014-11-11 18:14:11 -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
Reed Esau
d41f5954a0
Ensure home/end/up/down key overrides are local to buffer
2014-10-05 23:08:00 -06:00
Reed Esau
4e4ba394bc
Support two new filetypes: rst and tex
2014-10-01 00:53:40 -06:00
Reed Esau
6964928289
Compatibility improvements
2014-09-17 06:40:04 -06:00
Reed Esau
55b432a55f
Add breakindent support for #10
2014-09-17 05:33:06 -06:00
Reed Esau
93ee3e1a12
Refactor for performance
2014-09-17 05:32:08 -06:00
Reed Esau
66ddded258
Expand word definitions to fix #12
2014-09-03 05:56:44 -06:00
Reed Esau
eec3dc455e
Ensure iskeyword is prose-oriented for buffer - fixes #15
2014-09-03 05:23:36 -06:00
Reed Esau
a997444f39
Remove a bit of experiment-related cruft ( #13 )
2014-08-31 19:06:02 -06:00
Reed Esau
1b6b0c83be
Improve comment for #13 change.
2014-08-31 18:36:39 -06:00
Reed Esau
403163f85d
Preserve indent based on 2nd line, fixes #13
...
I think this mostly applies to HardPencil mode.
2014-08-31 18:34:56 -06:00
Reed Esau
a275f35c6f
New indicator for use in status line; fixes #6
2014-08-31 03:48:12 -06:00
Reed Esau
f18b74bac5
Ensure the global options have init() equivalents
2014-08-28 23:37:49 -06:00
Reed Esau
4880c4b1e1
Scan for syntax stack for autoformat
...
A fix for #11 where there wasn't any syntax stack at the end of a line containing text where we don't want to initiate autoformat.
2014-08-27 21:32:29 -06:00
Reed Esau
ad8c4b4504
Added table highlight to autoformat blacklist
...
mattly/vim-markdown-enhancements defines a highlight for tables in markdown. We can use that to avoid inadvertent reformat of those tables by not enabling autoformat in those tables.
2014-08-27 05:17:38 -06:00
Reed Esau
14f49ac597
various naming/reliability
...
Added breakat chars to preserve footnote and email addresses.
Rename 'exclude' global to 'blacklist'
Removed formatoptions that were interfering with syntax module.
2014-08-27 04:34:01 -06:00
Reed Esau
19c1dba18f
#7 fix - avoid enabling autoformat for code blocks
...
Found a bug with new feature and fixed.
2014-08-25 02:11:37 -06:00
Reed Esau
a7996a75b5
#7 fix - avoid enabling autoformat for code blocks
...
At least a partial fix for the problem of autoformat wreaking havoc on code blocks.
Couldn't find any highlighting groups for tables. If anybody can find them, we can add them to the exclude list.
2014-08-25 01:25:02 -06:00
Reed Esau
74e5b86409
Better docs and new defaults for Vim's conceal feature
2014-08-24 23:46:18 -06:00
Reed Esau
78c8b46f91
Only set concealable for vims with 'conceal'
2014-08-22 00:51:24 -06:00
Reed Esau
e7d12db91a
Only set concealable for vims with 'conceal'
2014-08-22 00:10:40 -06:00
Reed Esau
55b4a6e690
Support Conceal for Markdown; disable smartindent
2014-08-21 21:55:18 -06:00
Reed Esau
b08f811bb2
<cr> as undo point; no comment leaders; misc doc changes
2014-06-24 02:42:53 -06:00
Reed Esau
9f88e10772
Removed dash from undo points
...
To avoid excessive undos around -- and longer sequences of dashes.
2014-03-02 19:18:17 -07:00
Reed Esau
9e3a07754e
preserve behavior of up/dn/home/end in ins-mode popups
2014-02-18 04:32:25 -07:00
Reed Esau
5b8b96ccf1
Misc improvements
...
Additional undo points.
Disable auto format by default.
More keys that can wrap in insert mode.
2014-02-17 01:51:27 -07:00
Reed Esau
0ea2b4c9f9
undo points for word and line deletion
2014-02-14 03:35:06 -07:00
Reed Esau
d229eb9e25
explicitly set autoformat of comments
2014-02-14 00:46:14 -07:00
Reed Esau
5b57c3b06c
clarified globals; protect other bufs from ve=onemore; misc improvements
2014-02-02 18:18:16 -07:00
Matthew Lyon
db68526de4
Default b:max_textwidth to -1
...
Fixes #4
In general, I think it's good hygiene for a function to do this if it's
value is expected to be set elsewhere.
2014-01-28 12:28:46 -02:00
Reed Esau
0cab276eda
defensive coercion of tw str to number
2014-01-27 23:22:20 -07:00
Reed Esau
ffebe64a88
detect optimization; boosted line count to 20
2014-01-15 09:00:22 -07:00
Reed Esau
d634989c87
added wrap mode detect via line sampling; now ignores wm
2014-01-14 23:37:09 -07:00
Reed Esau
785cdfac80
and removed the 'w' option, as it causes more problems than it fixes
2014-01-13 21:23:05 -07:00
Reed Esau
fd6f590d4a
restored cursorwrap default; fixed autoformat issue for quotable
2014-01-12 21:24:16 -07:00
Reed Esau
af65cf4197
temporarily disabled cursorwrap, as ve=onemore breaks vim-quotable
2014-01-12 17:28:54 -07:00