Re: vim has lost it's damn mind
On 06/08/20 11:34 -0400, John Florian wrote: I understand better now my problems with my mappings. Above, I said I had a mapping for :nohlsearch. In actuality, this was ^E :nohlsearch. Both should work but only the latter now only works with vim; gvim shows the mapping with :map but I can't make it trigger. A mapping for "^E" (i.e. the two characters '^' and 'E') doesn't work in vim or gvim for me. works in both, and so does the literal control character entered into my vimrc with CTRL-V CTRL-E. I get the same results on two up-to-date KDE desktops but also a headless CentOS 6.10 server. Silly question: are you actually using the same version for vim and gvim? Do you have some different version of vim in your path? I still don't know what's up with the yaml indenting. I'll have to check on the cindent setting that's been brought up recently. I also You can check whether cindent is enabled in a given file (e.g. after opening a yaml file) with ':set cindent?' If you put 'finish' right at the top of you personal vimrc and check ':set cindent?' again you'll see whether its presence/absence is affected by something in your vimrc. If it's on even when you make your personal vimrc 'finish' before changing anything, then it's coming from global settings not personal ones. don't understand the new Ctrl-6 behavior, but I suspect that's konsole that's changed. ___ 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
Re: vim has lost it's damn mind
On 2020-07-28 17:09, John Florian wrote: > > I also have seen some weirdness of late, but I'm still on F31. I had > yaml files indented with sw=4 and my foldmethod=indent. Now I have to > open the fold twice, once for the invisible fold that seems to be > implied as if sw=2 and one more to get the real thing. If I reformat > to use 2-space indents the folding works like I'd expect but something > changed. I've also gotten lots of pain with certain key combos that > were solid for ages. Ctrl-6 to swap buffers % and # now must be > Ctrl-Shift-6 for vim, though the former still works in gvim. I have a > mapping for :nohlsearch that I've used for over a decade to > un-highlight a search. That no longer works in vim or gvim. Until > I'd found that I figured something in konsole had changed. But once > gvim revealed weird issues I figured it must be more of a vim thing. > Now seeing this message, I'm becoming even more certain. > I understand better now my problems with my mappings. Above, I said I had a mapping for :nohlsearch. In actuality, this was ^E :nohlsearch. Both should work but only the latter now only works with vim; gvim shows the mapping with :map but I can't make it trigger. I still don't know what's up with the yaml indenting. I'll have to check on the cindent setting that's been brought up recently. I also don't understand the new Ctrl-6 behavior, but I suspect that's konsole that's changed. John Florian ___ 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
Re: vim has lost it's damn mind
On 04/08/20 10:59 -0500, Richard Shaw wrote: On Tue, Aug 4, 2020 at 10:49 AM Jonathan Wakely wrote: On 03/08/20 13:32 -0500, Richard Shaw wrote: >I finally ran into another issue and used the vim faq. It was ":set >cindent" that was causing the crazy indentation in spec file %changelogs. > >I still consider this a bug as the file doesn't even end in c, cpp, cxx, >c++ etc. What's turning it on for non-C files? Got me, I haven't dug in that far, just turned it off for now. I see nocindent by default on F32, even for C files. My personal vimrc turns it on explicitly for ft=c and ft=cpp and off for everything else, but it shouldn't be on unless you've turned it on. ___ 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
Re: vim has lost it's damn mind
On Tue, Aug 4, 2020 at 10:49 AM Jonathan Wakely wrote: > On 03/08/20 13:32 -0500, Richard Shaw wrote: > >I finally ran into another issue and used the vim faq. It was ":set > >cindent" that was causing the crazy indentation in spec file %changelogs. > > > >I still consider this a bug as the file doesn't even end in c, cpp, cxx, > >c++ etc. > > What's turning it on for non-C files? > Got me, I haven't dug in that far, just turned it off for now. Thanks, Richard ___ 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
Re: vim has lost it's damn mind
On 03/08/20 13:32 -0500, Richard Shaw wrote: I finally ran into another issue and used the vim faq. It was ":set cindent" that was causing the crazy indentation in spec file %changelogs. I still consider this a bug as the file doesn't even end in c, cpp, cxx, c++ etc. What's turning it on for non-C files? ___ 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
Re: vim has lost it's damn mind
On Mon, 2020-08-03 at 13:32 -0500, Richard Shaw wrote: > I finally ran into another issue and used the vim faq. It was ":set > cindent" that was causing the crazy indentation in spec file > %changelogs. > I still consider this a bug as the file doesn't even end in c, cpp, > cxx, c++ etc. yes , cindent is buggy for long time, I could say about 10 years , TBH I don't remember when I turn cindent off . > Thanks, > Richard > > ___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 -- Sérgio M. B. ___ 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
Re: vim has lost it's damn mind
I finally ran into another issue and used the vim faq. It was ":set cindent" that was causing the crazy indentation in spec file %changelogs. I still consider this a bug as the file doesn't even end in c, cpp, cxx, c++ etc. Thanks, Richard ___ 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
Re: vim has lost it's damn mind
On Wed, 2020-07-29 at 13:34 -0500, Richard Shaw wrote: > On Wed, Jul 29, 2020 at 3:36 AM Zdenek Dohnal > wrote: > > Hi all, > > > > > > > > first I would like to recommend you to try the steps here: > > > > > > > > https://vimhelp.org/vim_faq.txt.html#faq-2.5 > > > > > > > > it should help you find out where the problem can be. > > > > > > > > If you are able to reproduce the issue with the first step, please > > file > > > > a bug on bugzilla.redhat.com. > > I'll give it a try, but part of my frustration is that the behavior > changed after upgrading to Fedora 32, my .vimrc did not change, so at > a minimum my settings are likely being interpreted differently. is something like this https://github.com/vim/vim/issues/989 ? , i.e a problem in a specific syntax highlight , I got this one on python, I added to my .vimrc let g:python_recommended_style=0 > Thanks, > Richard > > ___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 -- Sérgio M. B. ___ 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
Re: vim has lost it's damn mind
On Wed, Jul 29, 2020 at 3:36 AM Zdenek Dohnal wrote: > Hi all, > > first I would like to recommend you to try the steps here: > > https://vimhelp.org/vim_faq.txt.html#faq-2.5 > > it should help you find out where the problem can be. > > If you are able to reproduce the issue with the first step, please file > a bug on bugzilla.redhat.com. > I'll give it a try, but part of my frustration is that the behavior changed after upgrading to Fedora 32, my .vimrc did not change, so at a minimum my settings are likely being interpreted differently. Thanks, Richard ___ 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
Re: vim has lost it's damn mind
On 2020-07-28 17:58, Sergio Belkin wrote: > Since a couple of years ago, I'm a happy user of neovim on Fedora :) I play with it now and then but have yet to switch completely. It's been long enough that I don't remember what my hangup was. If memory serves, it was the lack of gneovim or whatever it'd be called. There was MUCH to be liked however, I remember that much. John Florian ___ 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
Re: vim has lost it's damn mind
Hi all, first I would like to recommend you to try the steps here: https://vimhelp.org/vim_faq.txt.html#faq-2.5 it should help you find out where the problem can be. If you are able to reproduce the issue with the first step, please file a bug on bugzilla.redhat.com. Thank you in advance! On 7/29/20 7:52 AM, Tomasz Torcz wrote: > 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. > -- Zdenek Dohnal Software Engineer Red Hat Czech - Brno TPB-C signature.asc Description: OpenPGP digital signature ___ 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
Re: vim has lost it's damn mind
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.plwagon 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
Re: vim has lost it's damn mind
El mar., 28 jul. 2020 a las 18:49, John Florian () escribió: > I also have seen some weirdness of late, but I'm still on F31. I had yaml > files indented with sw=4 and my foldmethod=indent. Now I have to open the > fold twice, once for the invisible fold that seems to be implied as if sw=2 > and one more to get the real thing. If I reformat to use 2-space indents > the folding works like I'd expect but something changed. I've also gotten > lots of pain with certain key combos that were solid for ages. Ctrl-6 to > swap buffers % and # now must be Ctrl-Shift-6 for vim, though the former > still works in gvim. I have a mapping for :nohlsearch that > I've used for over a decade to un-highlight a search. That no longer works > in vim or gvim. Until I'd found that I figured something in konsole had > changed. But once gvim revealed weird issues I figured it must be more of > a vim thing. Now seeing this message, I'm becoming even more certain. > > John Florian > > On 2020-07-25 09:21, 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? > > Thanks, > Richard > > ___ > 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 > > ___ > 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 > Since a couple of years ago, I'm a happy user of neovim on Fedora :) -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org ___ 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
Re: vim has lost it's damn mind
I also have seen some weirdness of late, but I'm still on F31. I had yaml files indented with sw=4 and my foldmethod=indent. Now I have to open the fold twice, once for the invisible fold that seems to be implied as if sw=2 and one more to get the real thing. If I reformat to use 2-space indents the folding works like I'd expect but something changed. I've also gotten lots of pain with certain key combos that were solid for ages. Ctrl-6 to swap buffers % and # now must be Ctrl-Shift-6 for vim, though the former still works in gvim. I have a mapping for :nohlsearch that I've used for over a decade to un-highlight a search. That no longer works in vim or gvim. Until I'd found that I figured something in konsole had changed. But once gvim revealed weird issues I figured it must be more of a vim thing. Now seeing this message, I'm becoming even more certain. John Florian On 2020-07-25 09:21, 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? > > Thanks, > Richard > > ___ > 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 ___ 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
Re: vim has lost it's damn mind
Sat, 25 Jul 2020 08:21:53 -0500 Richard Shaw : > 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 would start looking in /usr/share/vim/vim82/ftplugin/spec.vim, after that in You local vimrc. Do You have shiftwidth in it? -- Łukasz Posadowski ___ 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
Re: vim has lost it's damn mind
On Sat, Jul 25, 2020 at 09:31:31AM -0400, Eric Wood wrote: > Same thing happens to me on a Ubuntu install. Very annoying. I haven't > dug into figuring it out either.Eric I have similar problem with .js files, completely unusable (with .py files it works fine BTW, 4-space indents, just the way I want it). Didn't have the time to find out how to properly disable it, but for now I do ":set paste" in a vim-session and then it doesn't beat me. -- --Jos Vos --X/OS Experts in Open Systems BV | Office: +31 20 6938364 --Amsterdam, The Netherlands| Mobile: +31 6 26216181 ___ 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
RE: vim has lost it's damn mind
Same thing happens to me on a Ubuntu install. Very annoying. I haven't dug into figuring it out either.Eric Original message From: Richard Shaw Date: 7/25/20 9:22 AM (GMT-05:00) To: Development discussions related to Fedora Subject: vim has lost it's damn mind 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?Thanks,Richard ___ 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
vim has lost it's damn mind
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? Thanks, Richard ___ 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