I primarily use Vim for text processing, so in order to lighten that process, I've set some parameters in my .vimrc:set fo=antset tw=80set ts=3set nojoinspacesThe nojoinspaces parameter is set in order for various movement operations to be sensitive to sentences without having to append two spaces after a period (which is not a common practice in my language).I'm mostly happy with this setup, but it bothers me that I have to insert a blank line between any two paragraphs in order for Vim not to collapse them. This is especially bothersome when I'm writing a list. I found that setting formatoptions to antw eliminates this problem, while retaining most of the features I need for 'normal' paragraphs.So far, so good! But the problem is that whenever I have a line that is EXACTLY 80 characters long, Vim automatically inserts a blank line, i.e.:A major part of the scientific literature on consciousness consists of studiesthat examine the relationship between the experiences reported by subjects andthe activity that simultaneously takes place in their brainsthat is, studies ofthe neural correlates of consciousness.You would think this wouldn't happen all that often, but I find it to be a pretty big pain in the backside. So I guess my question is: Is there any set of formatoptions parameters that would suit my requirements: automatic formatting of NORMAL paragraphs but no need for blank lines between items in, say, a list? Or will I have to keep toggling between them? And why does antw make Vim behave this way in the first place?
How to set formatoption so that a blank line isn't needed between two paragraphs?
formatting