Re: Multiple windows get corrupted
Ok. Thanks for all the help. I hope to report back in a couple of weeks. On Friday, June 2, 2023 at 9:14:09 AM UTC-4 Bram Moolenaar wrote: > > > > > > > As I mentioned in my post that begins with "Everybody FYI" I had > just > > > > > > recently discovered that pulling the edge of the window left > > > > > > or right when the garbling happened it *made *it the problem > > > > > > go away. But I was hoping to find a fix for my problem so > > > > > > that it doesn't happen; specially when I am pair coding with a > > > > > > colleague. It gets frustrating specially since I couldn't > > > > > > figure out yet a keyboard short cut for pulling side of window > > > > > > left or right. > > > > > > > > > > OK, so just before resizing the window manually Vim somehow is in > a bad > > > > > state. It most likely is related to how the Vim window was > resized. Do > > > > > you know? In case you are not sure you could use: > > > > > > > > Yes. As I mentioned before I would resize the window to accommodate > for a > > > > opening another file in side window. > > > > > > The big question is: HOW did you resize the window? Resizing manually > > > fixes the problem, thus you didn't resize it the normal way, right? > > > > Oh. Missed your question here. So I would just use the mouse to pull the > > side of the window out to make the window wider. > > But then you can avoid the problem by doing it again? That doesn't give > any hint about why it happened the first time. Can you think of > anything that might matter? > > > > > > verbose set columns? > > > > > verbose set lines? > > > > > > > > > > Hopefully this leads to some Vim script or an autocommand that > triggers > > > > > the problem. We need this to be able to write a test for it > anyway. > > > > > Note that you need to start Vim with "--clean" to make sure your > local > > > > > setup doesn't change what happens. > > > > > > > > Regarding starting Vim with "--clean". The "--clean" option was > suggested > > > > sometime at the start of this thread. It ran with no issues but it > also > > > > considerably limited my editing capabilities. > > > > > > The idea is that you start Vim with "--clean" and then add pieces of > > > your setup until you find out what piece matters for reproducing the > > > problem. Hopefully not including a whole plugin, since then we would > > > need to dig into that plugin. > > > > > > " Hopefully not including a whole plugin, since then we would need to > dig > > > into that plugin." ??? > > > > Not clear on this. > > What does "add pieces" mean? Does it mean pieces of the the vimrc file > or > > adding plugins one by one or is it actually both? > > Both. In the case of using your vimrc file, you can put a "finish" > command in various places and see what the effect is. Binary search > should work fastest. But start by putting it near the top to check that > it actually matters to be there at all. > > For plugins you could rename them temporarily, e.g. by changing ".vim" > to ".skip". > > -- > From "know your smileys": > :-* A big kiss! > > /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net \\\ > /// \\\ > \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/a7949dd1-c5ef-4d1b-a63b-a4b35b299133n%40googlegroups.com.
Re: Multiple windows get corrupted
> > > > > As I mentioned in my post that begins with "Everybody FYI" I had just > > > > > recently discovered that pulling the edge of the window left > > > > > or right when the garbling happened it *made *it the problem > > > > > go away. But I was hoping to find a fix for my problem so > > > > > that it doesn't happen; specially when I am pair coding with a > > > > > colleague. It gets frustrating specially since I couldn't > > > > > figure out yet a keyboard short cut for pulling side of window > > > > > left or right. > > > > > > > > OK, so just before resizing the window manually Vim somehow is in a bad > > > > state. It most likely is related to how the Vim window was resized. Do > > > > you know? In case you are not sure you could use: > > > > > > Yes. As I mentioned before I would resize the window to accommodate for a > > > opening another file in side window. > > > > The big question is: HOW did you resize the window? Resizing manually > > fixes the problem, thus you didn't resize it the normal way, right? > > Oh. Missed your question here. So I would just use the mouse to pull the > side of the window out to make the window wider. But then you can avoid the problem by doing it again? That doesn't give any hint about why it happened the first time. Can you think of anything that might matter? > > > > verbose set columns? > > > > verbose set lines? > > > > > > > > Hopefully this leads to some Vim script or an autocommand that triggers > > > > the problem. We need this to be able to write a test for it anyway. > > > > Note that you need to start Vim with "--clean" to make sure your local > > > > setup doesn't change what happens. > > > > > > Regarding starting Vim with "--clean". The "--clean" option was suggested > > > sometime at the start of this thread. It ran with no issues but it also > > > considerably limited my editing capabilities. > > > > The idea is that you start Vim with "--clean" and then add pieces of > > your setup until you find out what piece matters for reproducing the > > problem. Hopefully not including a whole plugin, since then we would > > need to dig into that plugin. > > > > " Hopefully not including a whole plugin, since then we would need to dig > > into that plugin." ??? > > Not clear on this. > What does "add pieces" mean? Does it mean pieces of the the vimrc file or > adding plugins one by one or is it actually both? Both. In the case of using your vimrc file, you can put a "finish" command in various places and see what the effect is. Binary search should work fastest. But start by putting it near the top to check that it actually matters to be there at all. For plugins you could rename them temporarily, e.g. by changing ".vim" to ".skip". -- >From "know your smileys": :-*A big kiss! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230602131400.26A351C1B27%40moolenaar.net.
Re: Multiple windows get corrupted
On Thursday, June 1, 2023 at 5:51:10 PM UTC-4 Bram Moolenaar wrote: > > > As I mentioned in my post that begins with "Everybody FYI" I had just > > > recently discovered that pulling the edge of the window left or right when > > > the garbling happened it *made *it the problem go away. > > > But I was hoping to find a fix for my problem so that it doesn't happen; > > > specially when I am pair coding with a colleague. It gets frustrating > > > specially since I couldn't figure out yet a keyboard short cut for pulling > > > side of window left or right. > > > > OK, so just before resizing the window manually Vim somehow is in a bad > > state. It most likely is related to how the Vim window was resized. Do > > you know? In case you are not sure you could use: > > Yes. As I mentioned before I would resize the window to accommodate for a > opening another file in side window. The big question is: HOW did you resize the window? Resizing manually fixes the problem, thus you didn't resize it the normal way, right? Oh. Missed your question here. So I would just use the mouse to pull the side of the window out to make the window wider. > > verbose set columns? > > verbose set lines? > > > > Hopefully this leads to some Vim script or an autocommand that triggers > > the problem. We need this to be able to write a test for it anyway. > > Note that you need to start Vim with "--clean" to make sure your local > > setup doesn't change what happens. > > Regarding starting Vim with "--clean". The "--clean" option was suggested > sometime at the start of this thread. It ran with no issues but it also > considerably limited my editing capabilities. The idea is that you start Vim with "--clean" and then add pieces of your setup until you find out what piece matters for reproducing the problem. Hopefully not including a whole plugin, since then we would need to dig into that plugin. " Hopefully not including a whole plugin, since then we would need to dig into that plugin." ??? Not clear on this. What does "add pieces" mean? Does it mean pieces of the the vimrc file or adding plugins one by one or is it actually both? -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/79fa565a-b675-4864-adf7-9762e0a2da12n%40googlegroups.com.
Re: Multiple windows get corrupted
> > > As I mentioned in my post that begins with "Everybody FYI" I had just > > > recently discovered that pulling the edge of the window left or right > > > when > > > the garbling happened it *made *it the problem go away. > > > But I was hoping to find a fix for my problem so that it doesn't happen; > > > specially when I am pair coding with a colleague. It gets frustrating > > > specially since I couldn't figure out yet a keyboard short cut for > > > pulling > > > side of window left or right. > > > > OK, so just before resizing the window manually Vim somehow is in a bad > > state. It most likely is related to how the Vim window was resized. Do > > you know? In case you are not sure you could use: > > Yes. As I mentioned before I would resize the window to accommodate for a > opening another file in side window. The big question is: HOW did you resize the window? Resizing manually fixes the problem, thus you didn't resize it the normal way, right? > > verbose set columns? > > verbose set lines? > > > > Hopefully this leads to some Vim script or an autocommand that triggers > > the problem. We need this to be able to write a test for it anyway. > > Note that you need to start Vim with "--clean" to make sure your local > > setup doesn't change what happens. > > Regarding starting Vim with "--clean". The "--clean" option was suggested > sometime at the start of this thread. It ran with no issues but it also > considerably limited my editing capabilities. The idea is that you start Vim with "--clean" and then add pieces of your setup until you find out what piece matters for reproducing the problem. Hopefully not including a whole plugin, since then we would need to dig into that plugin. -- >From "know your smileys": <|-) Chinese <|-( Chinese and doesn't like these kind of jokes /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230601215101.1EACA1C0916%40moolenaar.net.
Re: Multiple windows get corrupted
On Thursday, June 1, 2023 at 4:55:16 PM UTC-4 Bram Moolenaar wrote: > As I mentioned in my post that begins with "Everybody FYI" I had just > recently discovered that pulling the edge of the window left or right when > the garbling happened it *made *it the problem go away. > But I was hoping to find a fix for my problem so that it doesn't happen; > specially when I am pair coding with a colleague. It gets frustrating > specially since I couldn't figure out yet a keyboard short cut for pulling > side of window left or right. OK, so just before resizing the window manually Vim somehow is in a bad state. It most likely is related to how the Vim window was resized. Do you know? In case you are not sure you could use: Yes. As I mentioned before I would resize the window to accommodate for a opening another file in side window. verbose set columns? verbose set lines? Hopefully this leads to some Vim script or an autocommand that triggers the problem. We need this to be able to write a test for it anyway. Note that you need to start Vim with "--clean" to make sure your local setup doesn't change what happens. Regarding starting Vim with "--clean". The "--clean" option was suggested sometime at the start of this thread. It ran with no issues but it also considerably limited my editing capabilities. Did I answer your query correctly/completely? Thanks. -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5718134f-857d-4ccd-a349-dbdf7f25e9a7n%40googlegroups.com.
Re: Multiple windows get corrupted
> As I mentioned in my post that begins with "Everybody FYI" I had just > recently discovered that pulling the edge of the window left or right when > the garbling happened it *made *it the problem go away. > But I was hoping to find a fix for my problem so that it doesn't happen; > specially when I am pair coding with a colleague. It gets frustrating > specially since I couldn't figure out yet a keyboard short cut for pulling > side of window left or right. OK, so just before resizing the window manually Vim somehow is in a bad state. It most likely is related to how the Vim window was resized. Do you know? In case you are not sure you could use: verbose set columns? verbose set lines? Hopefully this leads to some Vim script or an autocommand that triggers the problem. We need this to be able to write a test for it anyway. Note that you need to start Vim with "--clean" to make sure your local setup doesn't change what happens. -- >From "know your smileys": |-(Contact lenses, but has lost them /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230601205507.6B1D41C0916%40moolenaar.net.
Re: Multiple windows get corrupted
As I mentioned in my post that begins with "Everybody FYI" I had just recently discovered that pulling the edge of the window left or right when the garbling happened it *made *it the problem go away. But I was hoping to find a fix for my problem so that it doesn't happen; specially when I am pair coding with a colleague. It gets frustrating specially since I couldn't figure out yet a keyboard short cut for pulling side of window left or right. On Thursday, June 1, 2023 at 3:27:32 PM UTC-4 Bram Moolenaar wrote: > > > > You can try resizing it, e.g. by grabbing the left or right size and > > > dragging it just enough to make the window one character wider or > > > smaller. Then check if the 'columns' and 'lines' options did change. > > > > I did as you asked and answer is yes columns option did change by just > > one character increase. > > Well, does that make the problem go away? > > > -- > From "know your smileys": > :-| :-| Deja' vu! > > /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net \\\ > /// \\\ > \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5eeef62a-295d-412e-a9ab-e2954ff274adn%40googlegroups.com.
Re: Multiple windows get corrupted
> > You can try resizing it, e.g. by grabbing the left or right size and > > dragging it just enough to make the window one character wider or > > smaller. Then check if the 'columns' and 'lines' options did change. > > I did as you asked and answer is yes columns option did change by just > one character increase. Well, does that make the problem go away? -- >From "know your smileys": :-| :-| Deja' vu! /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230601192724.8DD291C0916%40moolenaar.net.
Re: Multiple windows get corrupted
Sorry I made a mess with my posting above as I was trying to reply to specific points in your post. On Thursday, June 1, 2023 at 2:55:31 PM UTC-4 Ben Mehmet wrote: > On Thursday, June 1, 2023 at 5:01:20 AM UTC-4 Bram Moolenaar wrote: > > > > Ok. So as expected it happened again. And I followed the steps you > (Bram) > > mentioned. I have following diffs between the bad (left side) and good > > (right side): > > > > columns=258 <-> columns=120 > > lines=72 <-> lines=60 > > modified <-> nomodified > > scroll=35 <-> scroll=29 > > window=71 <-> window=59 > > > > lines, columns, and window are set in my .gvimrc. I am experimenting > with > > commenting them out to see if any effect. > > > > Any ideas from your side? > > The number of columns and lines has changed. Did the Vim window > actually change size? It would have gotten more than twice as wide. > Or the font has changed to a much smaller one. > > Actually that is my doing. I had (as I usually do) start a session with > just one window enough to display one file. So the 258 size is a result of > my widening the vim window to make room for multiple windows (files). > > > > You can try resizing it, e.g. by grabbing the left or right size and > dragging it just enough to make the window one character wider or > smaller. Then check if the 'columns' and 'lines' options did change. > > I did as you asked and answer is yes columns option did change by just one > character increase. > > > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/8ef072ee-586b-471d-8f06-a11cff508f52n%40googlegroups.com.
Re: Multiple windows get corrupted
On Thursday, June 1, 2023 at 5:01:20 AM UTC-4 Bram Moolenaar wrote: > Ok. So as expected it happened again. And I followed the steps you (Bram) > mentioned. I have following diffs between the bad (left side) and good > (right side): > > columns=258 <-> columns=120 > lines=72 <-> lines=60 > modified <-> nomodified > scroll=35 <-> scroll=29 > window=71 <-> window=59 > > lines, columns, and window are set in my .gvimrc. I am experimenting with > commenting them out to see if any effect. > > Any ideas from your side? The number of columns and lines has changed. Did the Vim window actually change size? It would have gotten more than twice as wide. Or the font has changed to a much smaller one. Actually that is my doing. I had (as I usually do) start a session with just one window enough to display one file. So the 258 size is a result of my widening the vim window to make room for multiple windows (files). You can try resizing it, e.g. by grabbing the left or right size and dragging it just enough to make the window one character wider or smaller. Then check if the 'columns' and 'lines' options did change. I did as you asked and answer is yes columns option did change by just one character increase. -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9973ef7b-0d1e-425f-8d72-9c6a012d1e7dn%40googlegroups.com.
Re: Multiple windows get corrupted
> Ok. So as expected it happened again. And I followed the steps you (Bram) > mentioned. I have following diffs between the bad (left side) and good > (right side): > > columns=258 <-> columns=120 > lines=72 <-> lines=60 > modified <-> nomodified > scroll=35 <-> scroll=29 > window=71 <-> window=59 > > lines, columns, and window are set in my .gvimrc. I am experimenting with > commenting them out to see if any effect. > > Any ideas from your side? The number of columns and lines has changed. Did the Vim window actually change size? It would have gotten more than twice as wide. Or the font has changed to a much smaller one. You can try resizing it, e.g. by grabbing the left or right size and dragging it just enough to make the window one character wider or smaller. Then check if the 'columns' and 'lines' options did change. -- I AM THANKFUL... ...for the taxes that I pay because it means that I am employed. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230601090111.6344C1C0916%40moolenaar.net.
Re: Multiple windows get corrupted
Ok. So as expected it happened again. And I followed the steps you (Bram) mentioned. I have following diffs between the bad (left side) and good (right side): columns=258 <-> columns=120 lines=72 <-> lines=60 modified <-> nomodified scroll=35 <-> scroll=29 window=71 <-> window=59 lines, columns, and window are set in my .gvimrc. I am experimenting with commenting them out to see if any effect. Any ideas from your side? Thanks. On Wednesday, May 31, 2023 at 10:11:40 AM UTC-4 Ben Mehmet wrote: > Thank you. I will follow the troubleshooting steps you highlighted. > > On Wednesday, May 31, 2023 at 7:48:24 AM UTC-4 Bram Moolenaar wrote: > >> >> > Everybody FYI... I thank all the replies I have gotten related to this >> > issue which I should mention I have not figured out what the cause is. >> I >> > followed the suggestion provided and was not able to find which, if >> any, >> > plugin caused it. However, by pure chance I recently discovered one >> thing. >> > So when that text garbling happened (and happened very often), I just >> used >> > exit my vim session and open all files in session until next time it >> > misbehaved again. Well the discovery that I made recently is that when >> that >> > happened to me, instead of exiting, I could either *pull *the right >> edge of >> > the window either in or out for a pixel or two OR *snap *the vim >> session >> > window to either left or right (on linux like using super key and >> > left/right arrow keys) of the screen and it refreshed my >> windows/buffers >> > and things would look normal until next time it misbehaved. >> > Does this discovery point in any direction as to what my issue is and >> how >> > to remedy it permanently? >> >> Perhaps a window resize event makes Vim recompute some things and then >> it works again? Just guessing. >> >> If some option gets a wrong value, such as 'lines' or 'columns', that >> would cause display errors. You could do the following: >> >> redir > /tmp/settings_1 >> set! all >> redir END >> >> Do this when everything works OK and later when things are wrong, using >> a different file name. Then compare the output and try to spot the >> difference. If you see an option with a suspect value, you can possibly >> find out where it was set with e.g.: >> >> :verbose set lines? >> >> -- >> From "know your smileys": >> 8<}} Glasses, big nose, beard >> >> /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net >> \\\ >> /// \\\ >> \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// >> \\\ help me help AIDS victims -- http://ICCF-Holland.org /// >> > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/92d48f21-370c-4e61-a589-d01540070420n%40googlegroups.com.
Re: Multiple windows get corrupted
Thank you. I will follow the troubleshooting steps you highlighted. On Wednesday, May 31, 2023 at 7:48:24 AM UTC-4 Bram Moolenaar wrote: > > > Everybody FYI... I thank all the replies I have gotten related to this > > issue which I should mention I have not figured out what the cause is. I > > followed the suggestion provided and was not able to find which, if any, > > plugin caused it. However, by pure chance I recently discovered one > thing. > > So when that text garbling happened (and happened very often), I just > used > > exit my vim session and open all files in session until next time it > > misbehaved again. Well the discovery that I made recently is that when > that > > happened to me, instead of exiting, I could either *pull *the right edge > of > > the window either in or out for a pixel or two OR *snap *the vim session > > window to either left or right (on linux like using super key and > > left/right arrow keys) of the screen and it refreshed my windows/buffers > > and things would look normal until next time it misbehaved. > > Does this discovery point in any direction as to what my issue is and > how > > to remedy it permanently? > > Perhaps a window resize event makes Vim recompute some things and then > it works again? Just guessing. > > If some option gets a wrong value, such as 'lines' or 'columns', that > would cause display errors. You could do the following: > > redir > /tmp/settings_1 > set! all > redir END > > Do this when everything works OK and later when things are wrong, using > a different file name. Then compare the output and try to spot the > difference. If you see an option with a suspect value, you can possibly > find out where it was set with e.g.: > > :verbose set lines? > > -- > From "know your smileys": > 8<}} Glasses, big nose, beard > > /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net \\\ > /// \\\ > \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b99aad18-784a-4267-b505-e65f3a415d57n%40googlegroups.com.
Re: Multiple windows get corrupted
> Everybody FYI... I thank all the replies I have gotten related to this > issue which I should mention I have not figured out what the cause is. I > followed the suggestion provided and was not able to find which, if any, > plugin caused it. However, by pure chance I recently discovered one thing. > So when that text garbling happened (and happened very often), I just used > exit my vim session and open all files in session until next time it > misbehaved again. Well the discovery that I made recently is that when that > happened to me, instead of exiting, I could either *pull *the right edge of > the window either in or out for a pixel or two OR *snap *the vim session > window to either left or right (on linux like using super key and > left/right arrow keys) of the screen and it refreshed my windows/buffers > and things would look normal until next time it misbehaved. > Does this discovery point in any direction as to what my issue is and how > to remedy it permanently? Perhaps a window resize event makes Vim recompute some things and then it works again? Just guessing. If some option gets a wrong value, such as 'lines' or 'columns', that would cause display errors. You could do the following: redir > /tmp/settings_1 set! all redir END Do this when everything works OK and later when things are wrong, using a different file name. Then compare the output and try to spot the difference. If you see an option with a suspect value, you can possibly find out where it was set with e.g.: :verbose set lines? -- >From "know your smileys": 8<}} Glasses, big nose, beard /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230531114816.C4F711C1B27%40moolenaar.net.
Re: Multiple windows get corrupted
Everybody FYI... I thank all the replies I have gotten related to this issue which I should mention I have not figured out what the cause is. I followed the suggestion provided and was not able to find which, if any, plugin caused it. However, by pure chance I recently discovered one thing. So when that text garbling happened (and happened very often), I just used exit my vim session and open all files in session until next time it misbehaved again. Well the discovery that I made recently is that when that happened to me, instead of exiting, I could either *pull *the right edge of the window either in or out for a pixel or two OR *snap *the vim session window to either left or right (on linux like using super key and left/right arrow keys) of the screen and it refreshed my windows/buffers and things would look normal until next time it misbehaved. Does this discovery point in any direction as to what my issue is and how to remedy it permanently? Thanks in advance. Ben On Saturday, December 31, 2022 at 5:38:50 AM UTC-6 Enan Ajmain wrote: > On Fri, 30 Dec 2022 21:17:26 -0800 (PST) > Ben Mehmet wrote: > > Could you help with recommending how to proceed with my .vimrc and > > plugins to find the culprit? I mean how should I start incorporating > > my settings in? > > https://vi.stackexchange.com/questions/2003/how-do-i-debug-my-vimrc-file > > -- > Enan > 3nan@gmail.com > https://git.sr.ht/~enan/ > https://www.github.com/3N4N > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9093484c-7a71-403b-8853-f4213c33e8b9n%40googlegroups.com.
Re: Multiple windows get corrupted
Everybody FYI... I thank all the replies I have gotten related to this issue which I should mention I have not figured out what the cause is. I followed the suggestion provided and was not able to find which, if any, plugin caused it. However, by pure chance I recently discovered one thing. So when that text garbling happened (and happened very often), I just used exit my vim session and open all files in session until next time it misbehaved again. Well the discovery that I made recently is that when that happened to me, instead of exiting, I could just snap the vim session window to either left or right (on linux like using super key and left/right arrow keys) of the screen and it refreshed my windows/buffers and things would look normal until next time it misbehaved. Does this discovery point in any direction as to what my issue is and how to remedy it permanently? Thanks in advance. Ben On Saturday, December 31, 2022 at 5:38:50 AM UTC-6 Enan Ajmain wrote: > On Fri, 30 Dec 2022 21:17:26 -0800 (PST) > Ben Mehmet wrote: > > Could you help with recommending how to proceed with my .vimrc and > > plugins to find the culprit? I mean how should I start incorporating > > my settings in? > > https://vi.stackexchange.com/questions/2003/how-do-i-debug-my-vimrc-file > > -- > Enan > 3nan@gmail.com > https://git.sr.ht/~enan/ > https://www.github.com/3N4N > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/983bffb6-1183-4d8d-b4a3-743952f3aa68n%40googlegroups.com.
Re: Multiple windows get corrupted
On Fri, 30 Dec 2022 21:17:26 -0800 (PST) Ben Mehmet wrote: > Could you help with recommending how to proceed with my .vimrc and > plugins to find the culprit? I mean how should I start incorporating > my settings in? https://vi.stackexchange.com/questions/2003/how-do-i-debug-my-vimrc-file -- Enan 3nan.ajm...@gmail.com https://git.sr.ht/~enan/ https://www.github.com/3N4N -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221231173841.05df%40gmail.com.
Re: Multiple windows get corrupted
Not sure to whom you might be addressing this, but my general method would be to remove plugins and try to see if vim is still stable. Then add plugins back to the configuration until problems start to appear. That way you might find out what is causing the problem. On Friday, December 30, 2022 at 10:17:27 PM UTC-7 ozu...@gmail.com wrote: > Got an update regarding this. As you suggested, I ran vim with --clean > option and it is much more reliable and steadier than I have been > experiencing for past few months. Could you help with recommending how to > proceed with my .vimrc and plugins to find the culprit? I mean how should I > start incorporating my settings in? > Question 2: If I wanted to updated my vim version to 9, would it be > recommended and most importantly safe to use the ppa approach? > > Thanks a lot in advance. > On Monday, December 19, 2022 at 11:03:00 PM UTC-6 3nan@gmail.com > wrote: > >> On Mon, 19 Dec 2022 20:55:23 + (UTC) >> "'hilal Adam' via vim_use" wrote: >> > Thanks for your reply. I am not sure what '$ vim --clean' does. Is >> > this another way running vim? On Monday, December 19, 2022 at >> >> You have to run it from your shell. It'll open Vim without any >> user-level configuration. If the issue persists without your user-level >> config, we can be sure it's a bug in Vim. But if it can't be reproduced >> without '--clean', then we can be sure the problem is being caused by >> your config. Either way, it'll narrow the suspects. >> >> Read ':h --clean' for more details. >> >> -- >> Enan >> 3nan@gmail.com >> https://git.sr.ht/~enan/ >> https://www.github.com/3N4N >> > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/94a5fd17-7d30-490c-8b89-7af70a0a0fb5n%40googlegroups.com.
Re: Multiple windows get corrupted
Got an update regarding this. As you suggested, I ran vim with --clean option and it is much more reliable and steadier than I have been experiencing for past few months. Could you help with recommending how to proceed with my .vimrc and plugins to find the culprit? I mean how should I start incorporating my settings in? Question 2: If I wanted to updated my vim version to 9, would it be recommended and most importantly safe to use the ppa approach? Thanks a lot in advance. On Monday, December 19, 2022 at 11:03:00 PM UTC-6 3nan@gmail.com wrote: > On Mon, 19 Dec 2022 20:55:23 + (UTC) > "'hilal Adam' via vim_use" wrote: > > Thanks for your reply. I am not sure what '$ vim --clean' does. Is > > this another way running vim? On Monday, December 19, 2022 at > > You have to run it from your shell. It'll open Vim without any > user-level configuration. If the issue persists without your user-level > config, we can be sure it's a bug in Vim. But if it can't be reproduced > without '--clean', then we can be sure the problem is being caused by > your config. Either way, it'll narrow the suspects. > > Read ':h --clean' for more details. > > -- > Enan > 3nan@gmail.com > https://git.sr.ht/~enan/ > https://www.github.com/3N4N > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6ed71d32-083f-40be-a2f2-1f1cb0454098n%40googlegroups.com.
Re: Multiple windows get corrupted
On Mon, 19 Dec 2022 20:55:23 + (UTC) "'hilal Adam' via vim_use" wrote: > Thanks for your reply. I am not sure what '$ vim --clean' does. Is > this another way running vim? On Monday, December 19, 2022 at You have to run it from your shell. It'll open Vim without any user-level configuration. If the issue persists without your user-level config, we can be sure it's a bug in Vim. But if it can't be reproduced without '--clean', then we can be sure the problem is being caused by your config. Either way, it'll narrow the suspects. Read ':h --clean' for more details. -- Enan 3nan.ajm...@gmail.com https://git.sr.ht/~enan/ https://www.github.com/3N4N -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221220110243.16fd840b%40cirdan.
Re: Multiple windows get corrupted
Thanks for your reply. Yes, I did try Ctrl-L or the ex command :redraw as I found them when searching for similar experience from others.I am running in GUI mode. Latest version meaning what? Vim 9 or the latest in 8.2xxx build? As I mentioned I am running 8.2.4919. However I would be glad to upgrade to Vim 9. The problem however when I tried this upgrade on a non work environment by cloning and building vim, the steps didn't mentioned how to go about populating all the other sub folders under vim. Example, plugin, syntax, colors, etc. Thanks, BenOn Monday, December 19, 2022 at 04:33:02 AM CST, Christian Brabandt wrote: Am 2022-12-19 01:04, schrieb Ben Mehmet: > When running vim (mostly) in multi-window mode in ubuntu, my windows > get corrupted with random characters. Hard to explain, but as if the > screen doesn't get refreshed. Like to see the actual buffer contents, > I have to move up or down continuously. I try ctrl-r or :e with no > result. I am on vim 8.2 and ubuntu 22.04. > I appreciate any help with this matter. Have you tried using `Ctrl-L` or the ex command `:redraw` (with or without the `!`)? Does it fix it? Also, are you running vim in a terminal or using a GUI? Can you verify using the latest Vim version? Thanks, Chris -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b82f0c0fb03160df7d635781d829abb9%40256bit.org. -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/620896581.2008918.1671483827438%40mail.yahoo.com.
Re: Multiple windows get corrupted
Thanks for your reply. I am not sure what '$ vim --clean' does. Is this another way running vim? On Monday, December 19, 2022 at 12:22:05 AM CST, Enan Ajmain <3nan.ajm...@gmail.com> wrote: Have you checked if '$ vim --clean' causes the same problem? -- Enan 3nan.ajm...@gmail.com https://git.sr.ht/~enan/ https://www.github.com/3N4N -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221219115946.1e45bebf%40cirdan. -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/486884885.1720782.1671483323305%40mail.yahoo.com.
Re: Multiple windows get corrupted
Am 2022-12-19 01:04, schrieb Ben Mehmet: When running vim (mostly) in multi-window mode in ubuntu, my windows get corrupted with random characters. Hard to explain, but as if the screen doesn't get refreshed. Like to see the actual buffer contents, I have to move up or down continuously. I try ctrl-r or :e with no result. I am on vim 8.2 and ubuntu 22.04. I appreciate any help with this matter. Have you tried using `Ctrl-L` or the ex command `:redraw` (with or without the `!`)? Does it fix it? Also, are you running vim in a terminal or using a GUI? Can you verify using the latest Vim version? Thanks, Chris -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b82f0c0fb03160df7d635781d829abb9%40256bit.org.
Re: Multiple windows get corrupted
Have you checked if '$ vim --clean' causes the same problem? -- Enan 3nan.ajm...@gmail.com https://git.sr.ht/~enan/ https://www.github.com/3N4N -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221219115946.1e45bebf%40cirdan.
Multiple windows get corrupted
When running vim (mostly) in multi-window mode in ubuntu, my windows get corrupted with random characters. Hard to explain, but as if the screen doesn't get refreshed. Like to see the actual buffer contents, I have to move up or down continuously. I try ctrl-r or :e with no result. I am on vim 8.2 and ubuntu 22.04. I appreciate any help with this matter. -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b0909cd0-ef61-4f9e-887f-f99bea25ef94n%40googlegroups.com.