Re: vim has lost it's damn mind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
tomek@xxxxxxxxxxxxxx        wagon filled with backup tapes.”  — Jim Gray
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux