vim too smart on new line

Mark Knoop mark at opus11.net
Sun Aug 12 09:24:31 UTC 2007


Mike - EMAIL IGNORED wrote:
> In the present version of vim, if I create a
> new line with o or shift-o, in a C++ source
> file, the new line may not be blank,  It
> assumes that the new line should be similar to
> a neighbor line.  For example, if the neighbor
> is a comment, it assumes that the new line will
> also be a comment.
> 
> How can I disable this functionality?

:set fo-=o
:help fo-table

-- 
Mark Knoop




More information about the fedora-list mailing list