On Sat, Jul 25, 2020 at 08:21:53AM -0500, Richard Shaw wrote:
> After upgrading to Fedora 32 I've noticed when editing files, especially
> spec files that vim does some crazy jumps/indents that it didn't do before.
> 
> Right now I'm pressing i to insert a line before a Requires: and when I hit
> enter it jumps to the next line (fine) but with 4 indents and one space...
> WTF?
> 
> Anyone else seeing strange vim behavior?

  I've noticed overzealous indent while editing yaml files. I wanted
to provide example when it turned out vim also _unindents_. This is
quite jarring.

  Example: edit a yaml file, write
#v+
some: text
#v-

  Press ENTER, cursor goes to the next line, indented 2 space. Write more:
#v+
some: text
  write
#v-

  As soon as you put “:”, whole line gets _moved back_:
#v+
some: text
write: more
#v-

  Ugh.

-- 
Tomasz Torcz               “Never underestimate the bandwidth of a station
to...@pipebreaker.pl        wagon filled with backup tapes.”  — Jim Gray
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to