Selon Marco <netuse@lavabit.com>:
> Hi,
>
> when reformatting a text paragraph with gwip it causes some words to
> be treated special. Example:
>
>
> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumydiam
> for tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
> voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita
> kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
>
> Formatting the paragraph with â gwipâ results in
>
> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumydiam
> for tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
> voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
> clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
> amet.
>
> This makes sense for programming, but not for plain text. Filetype
> is not set BTW. I assumed that some of the formatoptions were
> responsible for the recognition of the keywords so I removed all
> formatoptions yielding the same result as described.
>
> How can I control this behaviour and remove special treatment of
> particular words?
I guess "set nocindent" is what you're looking for ("cindent" indents after
keywords).
Best,
Paul
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Monday, February 11, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment