Does anyone have other plugins that they find useful when writing in vim?
Does anyone have other plugins that they find useful when writing in vim?
http://wynnnetherland.com/journal/reed-esau-s-growing-list-o...
I really don't get why the behavior of gj/gk isn't the default.
http://gabekoss.com/blog/2013/11/writing_with_vim/ https://alols.github.io/2012/11/07/writing-prose-with-vim/
When just brainstorming vimoutliner might help to organize ideas: http://peterstuifzand.nl/gtd-vimoutliner.html http://jeromyanglim.blogspot.ro/2011/04/using-vim-and-vimout...
edit: To explain better, it basically re-wraps text in the optimal way into a paragraph. So you can not worry about spacing while typing and editing, and then when you are finally done you can just select the text and fix the wrapping really easily.
Works great for re-wrapping code comments too.
It's been packaged in Debian for ages.
PARINIT="rTbgqR B=.,?_A_a Q=_s>"
The first version of par was released in 1993 and the first Debian package was in 1996. The latest release will be 13 years old on Tuesday.The main problem I have is when I'm authoring in vim and pasting to another editor which interprets hard returns as, well, hard returns.
Mostly I play games with piping through a formatting tool or join up lines manually before pasting them. Hrm. Now you've got me wondering if there's a good way to do that generically.
#!/usr/bin/perl -p
use strict;
BEGIN{$/=undef;}
{ s/(?<!\n)\n(?!\n)//sg; }
END {print"\n"}You have to set 'formatoptions' depending on what you're doing. I have a keymapping to set/unset fo+=a/fo-=a.